Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.41 KB

README.org

File metadata and controls

49 lines (33 loc) · 1.41 KB

Arduino and Ferret sitting in a tree…

Getting started

Guide at https://github.com/nakkaya/ferret/blob/1d1e9fd19647d4cea26945d6a69bc2a1e7ee37e5/ferret.org#arduino-boards

Set up Arduino CLI

Install Arduino board stuff:

arduino --install-boards arduino:avr:arduino_uno:1.6.23

Schematics

See https://philectron.github.io/arduino/2016/05/03/arduino-projects-book-project-07/

Schematic, courtesy of Phi Luu, @philectron

Running it

To compile Ferret to C++, cross-compile to Arduino and upload:

make upload

To watch the serial output (requires picocom, hit C-a C-x to exit):

make serial

Example 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

Example 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.