Playground for the Raspberry Pi Pico W
Common LED should not be driven with a higher amperage than 0.023(Pico has 3.3V on it's GPIO pins, meaning it would be best to have a 143 OHM resistance.
Working on the integration of the LIS3DH
Accelerometer I first chose SPI, to work with. As it turns out
it is not enough to just read and write using the libraries, but the chip selects need to be set to high and
low respectively.
requires arm GNU Toolchain
I recommend to install picotool, which is quite nice to work with.
Get toolchain: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
sudo apt install gcc-arm-none-eabi libstdc++-arm-none-eabi libnewlib-arm-none-eabi
- Clone recursively with flag
--recursive
to include pico-sdk cd picolino
cmake -B build
cmake --build build