The following functionality needs to be properly tested with the Maple/Arduino_STM32 library to make sure the low level and HAL code works and that we can read Adafruit sensors (hopefully!) using Adafruit drivers:
Requirements
[ ] Serial - Make sure we support Serial properly for things like if (!Serial) etc. (used in startup to wait for a serial connection to be opened via Serial Monitor)
[ ] Wire/I2C - The most important since we have so many sensors that use this, but also the most complicated
[ ] SPI - Should be reasonably easy since SPI isn't terribly complicated
[ ] ADC - Should be easy
[ ] GPIO Interrupts - Some drivers require HW interrupts so we need to make sure they work, and also wire up the callback handler to route the event to the user's sketch
[ ] PWM
Example Sketches
The following sketches should be added to demonstrate the peripheral blocks above:
[ ] BNO055 (I2C) - Read data from the BNO055 and print it on the screen (Euler angles)
[ ] Bluefruit LE SPI Firend (SPI) - Use the Bluefruit LE SPI Friend and the Nordic UART service to make a pipe from BLE UART > MQTT > AIO in both directions. Any text that is send to the Bluefruit LE module should go out to AIO, and any text entered in AIO should go out to the Bluefruit LE SPI Friend.
[ ] ADC - Push the ADC data to AIO at a rate of 0.1Hz
The following functionality needs to be properly tested with the Maple/Arduino_STM32 library to make sure the low level and HAL code works and that we can read Adafruit sensors (hopefully!) using Adafruit drivers:
Requirements
if (!Serial)
etc. (used in startup to wait for a serial connection to be opened via Serial Monitor)Example Sketches
The following sketches should be added to demonstrate the peripheral blocks above: