Why are Static Variables "unsafe" in #RustLang?
https://lupyuen.github.io/articles/adc?18#static-variables-in-rust
Running #RustLang on #BL602 ... And turning the LED into a Light Sensor via ADC
https://lupyuen.github.io/articles/adc?15#run-the-bl602-rust-firmware
Flashing #RustLang Firmware to #BL602 with blflash ... Which is also built in Rust
https://lupyuen.github.io/articles/adc?12#flash-the-bl602-rust-firmware
How we build #RustLang Firmware with #BL602 IoT SDK
https://lupyuen.github.io/articles/adc?11#build-the-bl602-rust-firmware
Reading a #BL602 ADC Channel with DMA in #RustLang
https://lupyuen.github.io/articles/adc?10#read-the-adc-channel-1
Here's how we init a #BL602 ADC Channel in #RustLang
https://lupyuen.github.io/articles/adc?9#initialise-the-adc-channel-1
Here's how we create a #RustLang Project for #BL602
https://lupyuen.github.io/articles/adc?7#create-a-bl602-rust-project
Reading a #BL602 #ADC Channel with DMA
https://lupyuen.github.io/articles/adc?4#read-the-adc-channel
How we init a #BL602 #ADC Channel in our C Firmware
https://lupyuen.github.io/articles/adc?3#initialise-the-adc-channel
#PineCone #BL602 Light Sensor (improvised) ... Tested OK with #Pinebook Pro @PINE64 yay! 🎉
https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_rust_adc/rust/src/lib.rs
#BL602 LED becomes Light Sensor ... Thanks to #RustLang ADC Firmware!
https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_rust_adc/rust/src/lib.rs
Building #BL602 #RustLang Firmware gets simpler ... Rust Wrapper for BL602 IoT SDK is now auto-downloaded from crates.io
https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_rust_adc/run.sh
Testing the Light Sensor on #PineCone #BL602 @PINE64 ... Actually we're reading the LED via ADC with #RustLang
https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_rust_adc/rust/src/lib.rs
IoT Techie and Educator / Apache NuttX PMC