File tree 4 files changed +39
-50
lines changed
4 files changed +39
-50
lines changed Original file line number Diff line number Diff line change 13
13
global :
14
14
- ARDUINO_IDE_VERSION="1.8.5"
15
15
before_install :
16
- - source <(curl -SLs https://raw.githubusercontent.com/${TRAVIS_REPO_SLUG}/${TRAVIS_BRANCH}/ install.sh)
16
+ - source $TRAVIS_BUILD_DIR/ install.sh
17
17
script :
18
18
- build_platform esp32
19
19
- build_platform uno
Original file line number Diff line number Diff line change
1
+ /*
2
+ Blink
3
+
4
+ Turns an LED on for one second, then off for one second, repeatedly.
5
+
6
+ Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
7
+ it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
8
+ the correct LED pin independent of which board is used.
9
+ If you want to know what pin the on-board LED is connected to on your Arduino
10
+ model, check the Technical Specs of your board at:
11
+ https://www.arduino.cc/en/Main/Products
12
+
13
+ modified 8 May 2014
14
+ by Scott Fitzgerald
15
+ modified 2 Sep 2016
16
+ by Arturo Guadalupi
17
+ modified 8 Sep 2016
18
+ by Colby Newman
19
+
20
+ This example code is in the public domain.
21
+
22
+ http://www.arduino.cc/en/Tutorial/Blink
23
+ */
24
+
25
+ // the setup function runs once when you press reset or power the board
26
+ void setup () {
27
+ // initialize digital pin LED_BUILTIN as an output.
28
+ pinMode (LED_BUILTIN, OUTPUT);
29
+ }
30
+
31
+ // the loop function runs over and over again forever
32
+ void loop () {
33
+ digitalWrite (LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
34
+ delay (1000 ); // wait for a second
35
+ digitalWrite (LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
36
+ delay (1000 ); // wait for a second
37
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ if [ -z $ARDUINO_IDE_VERSION ]; then export ARDUINO_IDE_VERSION="1.8.5"; fi
34
34
# if newer version is requested
35
35
if [ ! -f $HOME /arduino_ide/$ARDUINO_IDE_VERSION ] && [ -f $HOME /arduino_ide/arduino ]; then
36
36
shopt -s extglob
37
+ cd $HOME /arduino_ide/
37
38
rm -r -f ! (esp32)
38
39
cd $OLDPWD
39
40
echo " DIFFERENT VERSION OF ARDUINO IDE REQUESTED!"
You can’t perform that action at this time.
0 commit comments