This folder contains example sketches for use with the Spresense Arduino wrapper. Other examples for the libraries can accessed from the Arduino IDE menu File -> examples -> examples for SPRESENSE.
-
led Will blink the four LEDs on the Main board using the Spresense functions
ledOn()
andledOff()
-
led_sequence Will blink the four LEDs on the Main board using
digitalwrite()
. -
nuttx_shell Provides access to the Nuttx Shell. A subset of the commands are implemented,
help
will list them. Useful test functions include access to the file system for the flash memory chip on the Spresense Main PCB. Make sure the Arduino serial monitor is set forBoth NL & CR
. -
interrupt Provides examples for the interrupt functions including interrupt from pin and timer.
-
analog_write Demonstrates
analogWrite()
-
analog_read Demonstrates
analogRead()
-
time Demonstrates the
delayMicroseconds()
. -
tone Demonstrates tone output from a digital pin. Spresense also supports beep generation to the headphone. See the Audio library for details.