This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
------------------------- | |
Arduino.mk Configuration: | |
- [AUTODETECTED] CURRENT_OS = MAC | |
- [USER] ARDUINO_DIR = /Users/sudarm/Applications/Arduino.app/Contents/Resources/Java | |
- [AUTODETECTED] ARDUINO_VERSION = 105 | |
- [AUTODETECTED] ARDUINO_PREFERENCES_PATH = /Users/sudarm/Library/Arduino/preferences.txt | |
- [AUTODETECTED] ARDUINO_SKETCHBOOK = /Users/sudarm/Dropbox/code/arduino-sketches (from arduino preferences file) | |
- [BUNDLED] AVR_TOOLS_DIR = /Users/sudarm/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr (in Arduino distribution) | |
- [COMPUTED] ARDUINO_LIB_PATH = /Users/sudarm/Applications/Arduino.app/Contents/Resources/Java/libraries (from ARDUINO_DIR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sketch-book-folder/ | |
sketch-book-folder/hardware/ | |
/boards.txt | |
/variants | |
/variants/mega16 | |
/variants/mega16/pins_arduino.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{s+=$3} END {print s}' input.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:03:03.773942 execve("./reset.pl", ["./reset.pl", "/dev/ttyACM0"], [/* 47 vars */]) = 0 <0.000233> | |
20:03:03.775023 brk(0) = 0x95b3000 <0.000035> | |
20:03:03.775158 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.000017> | |
20:03:03.775270 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7773000 <0.000014> | |
20:03:03.775352 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) <0.000015> | |
20:03:03.775444 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 <0.000016> | |
20:03:03.775517 fstat64(3, {st_mode=S_IFREG|0644, st_size=131344, ...}) = 0 <0.000017> | |
20:03:03.775645 mmap2(NULL, 131344, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7752000 <0.000015> | |
20:03:03.775705 close(3) = 0 <0.000012> | |
20:03:03.775769 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.000014> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gist id = "{GIST_ID}" file = "{GIST_FILE}"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gist id = '1168166' file = '1'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define E1 10 // Enable Pin for motor 1 | |
#define E2 11 // Enable Pin for motor 2 | |
#define I1 8 // Control pin 1 for motor 1 | |
#define I2 9 // Control pin 2 for motor 1 | |
#define I3 12 // Control pin 1 for motor 2 | |
#define I4 13 // Control pin 2 for motor 2 | |
void setup() { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define E1 10 // Enable Pin for motor 1 | |
#define E2 11 // Enable Pin for motor 2 | |
#define I1 8 // Control pin 1 for motor 1 | |
#define I2 9 // Control pin 2 for motor 1 | |
#define I3 12 // Control pin 1 for motor 2 | |
#define I4 13 // Control pin 2 for motor 2 | |
void setup() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup () { | |
pinMode(13, OUTPUT); | |
pinMode(12, OUTPUT); | |
} | |
void loop () { | |
digitalWrite(13, HIGH); | |
digitalWrite(12, LOW); | |
delay(5000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://launchpad.net/gcc-arm-embedded | |
http://kernelhacks.blogspot.in/2012/11/the-complete-tutorial-for-stellaris.html | |
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded | |
sudo apt-get update | |
sudo apt-get install gcc-arm-none-eabi |