1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Adding Atmel SAM3 specific files

This commit is contained in:
aethaniel
2011-06-01 01:54:47 +02:00
parent 65ce0cd0a2
commit 6f1482baba
59 changed files with 4948 additions and 0 deletions

View File

@ -0,0 +1,21 @@
void setup( void )
{
// initialize the digital pin as an output.
// Pin PIN_LED has an LED connected on most Arduino boards:
pinMode( PIN_LED, OUTPUT ) ;
Serial.begin( 19200 ) ;
}
void loop( void )
{
digitalWrite( PIN_LED, HIGH ) ; // set the LED on
delay( 1000 ) ; // wait for a second
digitalWrite( PIN_LED, LOW ) ; // set the LED off
delay( 1000 ) ; // wait for a second
Serial.println( "test1" ) ; // send an initial string
delay( 1000 ) ; // wait for a second
Serial.println( "test2" ) ; // send an initial string
}