Add Relay sketch

This commit is contained in:
coolneng 2019-11-22 18:33:03 +01:00
parent 5be5ee4ebb
commit 9a653b6d6e
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 73 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,60 @@
:100000000C945C000C946E000C946E000C946E00CA
:100010000C946E000C946E000C946E000C946E00A8
:100020000C946E000C946E000C946E000C946E0098
:100030000C946E000C946E000C946E000C946E0088
:100040000C9413010C946E000C946E000C946E00D2
:100050000C946E000C946E000C946E000C946E0068
:100060000C946E000C946E00000000080002010069
:100070000003040700000000000000000000000072
:10008000250028002B0000000000240027002A0083
:10009000040404040404040402020202020203032E
:1000A0000303030301020408102040800102040836
:1000B000102001020408102011241FBECFEFD8E049
:1000C000DEBFCDBF21E0A0E0B1E001C01D92A930AC
:1000D000B207E1F70E945D010C94D6010C94000078
:1000E00090E0FC01E859FF4F2491FC01EC55FF4FD3
:1000F0003491FC01E057FF4FE491EE23C9F0222335
:1001000039F0233001F1A8F4213019F1223029F11E
:10011000F0E0EE0FFF1FE458FF4FA591B4918FB7A9
:10012000F894EC91611126C030953E233C938FBF2B
:1001300008952730A9F02830C9F0243049F780917C
:1001400080008F7D03C0809180008F778093800036
:10015000DFCF84B58F7784BDDBCF84B58F7DFBCFB8
:100160008091B0008F778093B000D2CF8091B000A3
:100170008F7DF9CF3E2BDACF3FB7F8948091050100
:1001800090910601A0910701B091080126B5A89BA6
:1001900005C02F3F19F00196A11DB11D3FBFBA2F19
:1001A000A92F982F8827BC01CD01620F711D811DD9
:1001B000911D42E0660F771F881F991F4A95D1F75E
:1001C00008958F929F92AF92BF92CF92DF92EF925B
:1001D000FF924B015C010E94BC006B017C010E94FC
:1001E000BC006C197D098E099F09683E734081052A
:1001F0009105A8F321E0821A9108A108B10888EEC0
:10020000C80E83E0D81EE11CF11C81149104A104E6
:10021000B10429F7FF90EF90DF90CF90BF90AF909F
:100220009F908F9008951F920F920FB60F921124F6
:100230002F933F938F939F93AF93BF93809101012F
:1002400090910201A0910301B0910401309100014D
:1002500023E0230F2D3758F50196A11DB11D2093E2
:1002600000018093010190930201A0930301B093D8
:1002700004018091050190910601A0910701B091C0
:1002800008010196A11DB11D8093050190930601FF
:10029000A0930701B0930801BF91AF919F918F91F7
:1002A0003F912F910F900FBE0F901F90189526E849
:1002B000230F0296A11DB11DD2CF789484B5826020
:1002C00084BD84B5816084BD85B5826085BD85B5FA
:1002D000816085BD80916E00816080936E00109278
:1002E00081008091810082608093810080918100F3
:1002F0008160809381008091800081608093800084
:100300008091B10084608093B1008091B0008160E1
:100310008093B00080917A00846080937A0080910D
:100320007A00826080937A0080917A008160809365
:100330007A0080917A00806880937A001092C100E0
:10034000EBEAF0E02491E7E9F0E08491882399F06A
:1003500090E0880F991FFC01EA57FF4FA591B491D7
:10036000FC01E458FF4F859194918FB7F894EC917C
:10037000E22BEC938FBFC0E0D0E061E087E00E9409
:10038000700060E177E280E090E00E94E10060E0D0
:1003900087E00E94700068E873E180E090E00E94CE
:1003A000E100209751F30E940000E7CFF894FFCFBF
:00000001FF

13
Week 3/Relay/Relay.ino Normal file
View File

@ -0,0 +1,13 @@
// Relay
int relay = 7;
void setup() {
pinMode(relay, OUTPUT);
}
void loop() {
digitalWrite(relay, HIGH);
delay(10000);
digitalWrite(relay, LOW);
delay(5000);
}