Sample term usage: jax-ml.github.io/scaling-book/roofline/
The hello world is with a potentiometer: extremes on GND and VCC pins of the Pi, and middle output on pin GIO26, then as you turn the knob, the uart value goes from about 0 to about 64k.
In Ciro's ASCII art circuit diagram notation:
RPI_PICO_W__gnd__gpio26Adc__3.3V@36
| | |
| | |
| +-+ |
| | |
| | +---------+
| | |
P__1__2__3Under: micropython
Same behavior as micropython/blink_gpio.py.
Bibliography:
Build worked:but flash failed:Related: mattoppenheim.com/2018/06/24/using-udev-to-remove-the-need-for-sudo-with-the-bbc-microbit
west build -d build/microbit/hello_world -b bbc_microbit samples/hello_worldwest flash -d build/microbit/hello_worldThe build also generates a .hex file by default, and we've tried to flash it manually with:but we failed to see it do anything with zephyr/blink_gpio.c, so not sure if the flashing was broken or if the code was broken, or if we didn't find the IO pins correctly.
cp build/microbit/hello_world/zephyr/zephyr.hex /media/ciro/MICROBIT/ Unlisted articles are being shown, click here to show only listed articles.
