@@ -68,7 +68,9 @@ The code has three main purposes:
- Sending the values to the host computer through the CDC serial, for furhter analysis
- Lighting up the LEDs for a fun visualization of the capacitance's reading. For a nicer effect, PWM is used to modulate the current LED in the gauge. When it's fully lit, the next LED is enabled, etc.
The code makes use of the [Fab SAM Arduino Core](https://github.com/qbolsee/ArduinoCore-fab-sam), but without a bootloader. The binary is compiled in the IDE with "NO_BOOTLOADER" under the setting "Bootloader size". The compiled binary can then be flashed using a CMSIS-DAP adapter, for instance using edbg:
The full code is available [here](code/d11_flex_freetouch.ino).
It makes use of the [Fab SAM Arduino Core](https://github.com/qbolsee/ArduinoCore-fab-sam), but without a bootloader to save 4kb of flash. The binary is compiled in the IDE with "NO_BOOTLOADER" under the setting "Bootloader size". The compiled binary can then be flashed using a CMSIS-DAP adapter, for instance using edbg: