Skip to content

ragnarokII/spresense-sketches

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example code for Spresense Arduino development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.1%
  • C 31.9%