Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.23 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.23 KB

spresense-sketches

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() and ledOff()

  • 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 for Both 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.