mirror of https://github.com/E-Almqvist/hsf
parent
0812903023
commit
f20178181f
@ -0,0 +1,10 @@ |
|||||||
|
#include <Arduino.h> |
||||||
|
|
||||||
|
void setup() { |
||||||
|
pinMode(LED_BUILTIN, OUTPUT); |
||||||
|
} |
||||||
|
|
||||||
|
void loop() { |
||||||
|
digitalWrite(LED_BUILTIN, HIGH); |
||||||
|
} |
||||||
|
|
@ -0,0 +1,2 @@ |
|||||||
|
# Arduino Clock |
||||||
|
Time goes brrr |
@ -0,0 +1,12 @@ |
|||||||
|
void setup() { |
||||||
|
pinMode(LED_BUILTIN, OUTPUT); |
||||||
|
pinMode(2, INPUT); |
||||||
|
|
||||||
|
digitalWrite(LED_BUILTIN, LOW); |
||||||
|
} |
||||||
|
|
||||||
|
void loop() { |
||||||
|
int btn = digitalRead(2); |
||||||
|
|
||||||
|
digitalWrite(LED_BUILTIN, btn); |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
{ |
||||||
|
"fqbn": "archlinux-arduino:avr:uno", |
||||||
|
"hardwareFolders": "/usr/share/arduino/hardware", |
||||||
|
"toolsFolders": "/usr/bin" |
||||||
|
} |
@ -0,0 +1,3 @@ |
|||||||
|
#!/usr/bin/bash |
||||||
|
arduino-cli compile -b arduino:avr:uno |
||||||
|
arduino-cli upload -p /dev/ttyACM0 -b arduino:avr:uno |
@ -0,0 +1,2 @@ |
|||||||
|
#!/usr/bin/bash |
||||||
|
sudo stty -F /dev/ttyACM0 cs8 9600 ignbrk -brkint -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,47 @@ |
|||||||
|
ee: ef bc out 0x2f, r14 ; 47 |
||||||
|
14e: a4 bb out 0x14, r26 ; 20 |
||||||
|
fea: 6c b8 out 0x0c, r6 ; 12 |
||||||
|
1072: 1f be out 0x3f, r1 ; 63 |
||||||
|
1078: de bf out 0x3e, r29 ; 62 |
||||||
|
107a: cd bf out 0x3d, r28 ; 61 |
||||||
|
124c: 8f bf out 0x3f, r24 ; 63 |
||||||
|
1274: 84 bd out 0x24, r24 ; 36 |
||||||
|
12e2: 9f bf out 0x3f, r25 ; 63 |
||||||
|
12f4: 8f bf out 0x3f, r24 ; 63 |
||||||
|
131c: 3f bf out 0x3f, r19 ; 63 |
||||||
|
1354: de bf out 0x3e, r29 ; 62 |
||||||
|
1356: 0f be out 0x3f, r0 ; 63 |
||||||
|
1358: cd bf out 0x3d, r28 ; 61 |
||||||
|
1466: de bf out 0x3e, r29 ; 62 |
||||||
|
1468: 0f be out 0x3f, r0 ; 63 |
||||||
|
146a: cd bf out 0x3d, r28 ; 61 |
||||||
|
2686: de bf out 0x3e, r29 ; 62 |
||||||
|
2688: 0f be out 0x3f, r0 ; 63 |
||||||
|
268a: cd bf out 0x3d, r28 ; 61 |
||||||
|
26ce: de bf out 0x3e, r29 ; 62 |
||||||
|
26d0: 0f be out 0x3f, r0 ; 63 |
||||||
|
26d2: cd bf out 0x3d, r28 ; 61 |
||||||
|
2828: 0f be out 0x3f, r0 ; 63 |
||||||
|
28a2: 0f be out 0x3f, r0 ; 63 |
||||||
|
2bce: 0f be out 0x3f, r0 ; 63 |
||||||
|
2dde: de bf out 0x3e, r29 ; 62 |
||||||
|
2de0: 0f be out 0x3f, r0 ; 63 |
||||||
|
2de2: cd bf out 0x3d, r28 ; 61 |
||||||
|
2dea: 84 bd out 0x24, r24 ; 36 |
||||||
|
2df0: 84 bd out 0x24, r24 ; 36 |
||||||
|
2df6: 85 bd out 0x25, r24 ; 37 |
||||||
|
2dfc: 85 bd out 0x25, r24 ; 37 |
||||||
|
31b6: 2f bf out 0x3f, r18 ; 63 |
||||||
|
3e80: de bf out 0x3e, r29 ; 62 |
||||||
|
3e82: 0f be out 0x3f, r0 ; 63 |
||||||
|
3e84: cd bf out 0x3d, r28 ; 61 |
||||||
|
3eb4: de bf out 0x3e, r29 ; 62 |
||||||
|
3eb6: 0f be out 0x3f, r0 ; 63 |
||||||
|
3eb8: cd bf out 0x3d, r28 ; 61 |
||||||
|
7e04: 14 be out 0x34, r1 ; 52 |
||||||
|
7e3e: 96 bb out 0x16, r25 ; 22 |
||||||
|
7ed8: b7 be out 0x37, r11 ; 55 |
||||||
|
7ef4: b7 be out 0x37, r11 ; 55 |
||||||
|
7f20: 87 be out 0x37, r8 ; 55 |
||||||
|
7f34: a7 be out 0x37, r10 ; 55 |
||||||
|
7f3e: 97 be out 0x37, r9 ; 55 |
@ -0,0 +1,2 @@ |
|||||||
|
void setup(); |
||||||
|
void loop(); |
@ -1 +0,0 @@ |
|||||||
Subproject commit 2a14f560a16ac1b2a95bfc48f42615d7f0ecc566 |
|
Loading…
Reference in new issue