Here's how we import #NuttX Functions into #ZigLang
https://lupyuen.github.io/articles/sensor?7#import-nuttx-functions
Snowing on PineDio Stack #BL604 🤔
https://github.com/apache/incubator-nuttx/pull/6657#issuecomment-1199155394
#ZigLang reads the BME280 Humidity Sensor on Apache #NuttX RTOS
https://lupyuen.github.io/articles/sensor?6#read-humidity-sensor
#ZigLang reads the #NuttX Sensor Data and converts to Fixed-Point Numbers
https://lupyuen.github.io/articles/sensor?5#read-sensor-data
#ZigLang has a "defer" feature ... Super handy for cleaning up! 👍
https://lupyuen.github.io/articles/sensor?4#close-sensor-device-deferred
Reading Sensor Data on Apache #NuttX RTOS ... Here are the steps
https://lupyuen.github.io/articles/sensor?3#read-barometer-sensor
Apache #NuttX RTOS shows BME280 Sensor as 2 devices ... "baro0" and "humi0"
https://lupyuen.github.io/articles/sensor?2#bosch-bme280-sensor
Back to #RISCV PineCone #BL602 @PINE64 ... With Bosch BME280 Temperature / Humidity / Air Pressure Sensor
https://github.com/lupyuen/visual-zig-nuttx#connect-bme280-sensor
#ZigLang reads a #NuttX Barometer and Humidity Sensor (Bosch BME280)
https://github.com/lupyuen/visual-zig-nuttx#read-barometer-sensor
#ZigLang prints #NuttX Sensor Data as Fixed-Point Numbers
https://github.com/lupyuen/visual-zig-nuttx#floating-point-link-error
Barely functional Arm64 Atomics ... For #ZigLang Mach Game Engine on #PinePhone
https://github.com/lupyuen/zig-pinephone-mach#missing-arm64-atomics
Horrible Hack for Missing Arm64 Atomics ... #ZigLang Mach Game Engine on #PinePhone 🤔
https://gist.github.com/lupyuen/7cbea20f5be8efa65b971dc2a01374c4
#ZigLang #BL602 passes Floats to printf() and hits Weirdness ... Here's the workaround
https://github.com/lupyuen/visual-zig-nuttx#fix-floating-point-values
IoT Techie and Educator / Apache NuttX PMC