Pre-requisites
🌲 An indoor infrared receiver and transmitter with a temperature sensor 🎐
Blinky LED on a crystalless Arduino Zero
Pre-requisites
Create a blinky LED firmware with SAMD21G micro-controller on a custom PCB without crystal.
To ensure the blinky works with the crytalless option, you have to:
build.extra_flags
in ~/Library/Arduino15/packages/arduino/hardware/samd/1.8.6/boards.txt
on macOS or as part of options in the arduino-cli
commandarduino-cli compile --fqbn arduino:samd:arduino_zero_native --build-properties build.extra_flags="-DCRYSTALLESS -D__SAMD21G18A__ {build.usb_flags}" ./
For serial printing, SerialUSB.println()
should be used instead of Serial.println()
because SerialUSB
uses the Native Port, which is an emulated serial port (USB-CDC).
Steps to upload the blinky firmware:
make
to upload the blinky firmware with crystalless option