mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Merge branch 'develop' of https://github.com/ivankravets/platformio into develop
This commit is contained in:
@ -3,15 +3,6 @@
|
|||||||
Turns on an LED on for one second, then off for one second, repeatedly.
|
Turns on an LED on for one second, then off for one second, repeatedly.
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
To upload to your Gemma or Trinket:
|
|
||||||
1) Select the proper board from the Tools->Board Menu
|
|
||||||
2) Select USBtinyISP from the Tools->Programmer
|
|
||||||
3) Plug in the Gemma/Trinket, make sure you see the green LED lit
|
|
||||||
4) For windows, install the USBtiny drivers
|
|
||||||
5) Press the button on the Gemma/Trinket - verify you see
|
|
||||||
the red LED pulse. This means it is ready to receive data
|
|
||||||
6) Click the upload button above within 10 seconds
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int led = 1; // blink 'digital' pin 1 - AKA the built in red LED
|
int led = 1; // blink 'digital' pin 1 - AKA the built in red LED
|
||||||
@ -30,4 +21,4 @@ void loop() {
|
|||||||
digitalWrite(led, LOW);
|
digitalWrite(led, LOW);
|
||||||
delay(1000);
|
delay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user