- Install Arduino from https://arduino.cc
- Install Ferret from https://ferret-lang.org
Install Arduino board stuff:
arduino --install-boards arduino:avr:arduino_uno:1.6.23See https://philectron.github.io/arduino/2016/05/03/arduino-projects-book-project-07/
To compile Ferret to C++, cross-compile to Arduino and upload:
make uploadTo watch the serial output (requires picocom, hit C-a C-x to exit):
make serialExample of the code running: Espotek Labrador showing the PWM tone output on top, emacs on the bottom left and serial output on the bottom right.
