From 175357d499ef6fb8520f8a0b968c7d16b0a32744 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 8 Nov 2019 18:24:43 +0100 Subject: [PATCH] Add Buzzer code --- Buzzer/Buzzer.arduino.avr.uno.elf | Bin 0 -> 14660 bytes Buzzer/Buzzer.arduino.avr.uno.hex | 61 ++++++++++++++++++++++++++++++ Buzzer/Buzzer.ino | 14 +++++++ 3 files changed, 75 insertions(+) create mode 100755 Buzzer/Buzzer.arduino.avr.uno.elf create mode 100644 Buzzer/Buzzer.arduino.avr.uno.hex create mode 100644 Buzzer/Buzzer.ino diff --git a/Buzzer/Buzzer.arduino.avr.uno.elf b/Buzzer/Buzzer.arduino.avr.uno.elf new file mode 100755 index 0000000000000000000000000000000000000000..017018f9960b6613b4cfebd56b857cb2d0cd35d5 GIT binary patch literal 14660 zcmd5?dw5(`wclrEl1!SAXDNN8&9q6=7nwZz1WMbkfgLAGE63uWb9-nP9|-6 zHZ2uP1)5}99-?1`%LVa8K~O}bfan#kS`|O9di`MVf+F%^s`8;%H23%0`<$6QhhFu5 z_x^EDviDx=x7J>J?X~yWXYX@nf9uxGhG7Wna)@qWajO7+VvP_vC|3!OaEPU%R1`^h z!m5DsF{et@b0D#Pjf=#XN+9!*atR?79=i%D`oBmsjen#*nsN&VT6DVdK&P+8=*J4l zRf{EJxp0}6LtajK84j1b#ItEkl`1c-u6*Y7Z-0_{`P6q$ElhnX^=Qg?cK+nU^^fJf z`fky&tKrkXAqg>_de3;{is_E(iT8}Rc1(AyLYdk*-SOJQ+f^@4EvmX;s;b^N^XWe< ztenL$rz>CEHQn*g6OT_E{qi4=y)_Xit$DWo_=c+W$)l&-$CuPUJhim` z#i{E0_IJl7#>CMZozKd0?^tq7ymI=`6G!(R`r5y%Nk z#m`P}gype`9AkVU*Z9;#o^f)*ZPYyR>3egYt=l+f%DD5s`H#-ucpR`2*Lht~0K$Oc5EJb8Y^S{Co2UH;imLkTa1p_WOmY=jZ;w{i^$n`|#U` zi*8Q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A&XG|kG@?;p$NK@E>|wT9w3RbxI&tlE_ET8Kp2+OZ};Tl)}@Seeze1O*=-a!oev z>AP0T-uciWjR4Dw?UtG}3(A!7y@m~~n1ZU}HLo-gqTWE+ov$s=~dnZm-27 z#Ql~~lijP)AjL1Mv9GWON0U9M(bT(tMJDFtt+p6@>p4pNbp&4b&(dRQjWzXt1be9* YK5KFCMxv{vIp(^(#~XxbI7>hN3o{6;$N&HU literal 0 HcmV?d00001 diff --git a/Buzzer/Buzzer.arduino.avr.uno.hex b/Buzzer/Buzzer.arduino.avr.uno.hex new file mode 100644 index 0000000..7413ca8 --- /dev/null +++ b/Buzzer/Buzzer.arduino.avr.uno.hex @@ -0,0 +1,61 @@ +:100000000C945C000C946E000C946E000C946E00CA +:100010000C946E000C946E000C946E000C946E00A8 +:100020000C946E000C946E000C946E000C946E0098 +:100030000C946E000C946E000C946E000C946E0088 +:100040000C9414010C946E000C946E000C946E00D1 +:100050000C946E000C946E000C946E000C946E0068 +:100060000C946E000C946E00000000080002010069 +:100070000003040700000000000000000000000072 +:10008000250028002B0000000000240027002A0083 +:10009000040404040404040402020202020203032E +:1000A0000303030301020408102040800102040836 +:1000B000102001020408102011241FBECFEFD8E049 +:1000C000DEBFCDBF21E0A0E0B1E001C01D92A930AC +:1000D000B207E1F70E945E010C94D7010C94000076 +:1000E00090E0FC01E859FF4F2491FC01EC55FF4FD3 +:1000F0003491FC01E057FF4FE491EE23C9F0222335 +:1001000039F0233001F1A8F4213019F1223029F11E +:10011000F0E0EE0FFF1FE458FF4FA591B4918FB7A9 +:10012000F894EC91611126C030953E233C938FBF2B +:1001300008952730A9F02830C9F0243049F780917C +:1001400080008F7D03C0809180008F778093800036 +:10015000DFCF84B58F7784BDDBCF84B58F7DFBCFB8 +:100160008091B0008F778093B000D2CF8091B000A3 +:100170008F7DF9CF3E2BDACF3FB7F8948091050100 +:1001800090910601A0910701B091080126B5A89BA6 +:1001900005C02F3F19F00196A11DB11D3FBFBA2F19 +:1001A000A92F982F8827BC01CD01620F711D811DD9 +:1001B000911D42E0660F771F881F991F4A95D1F75E +:1001C00008958F929F92AF92BF92CF92DF92EF925B +:1001D000FF926B017C010E94BC004B015C01C114C9 +:1001E000D104E104F104B9F00E94BC006819790956 +:1001F0008A099B09683E73408105910580F321E0DF +:10020000C21AD108E108F10888EE880E83E0981E32 +:10021000A11CB11CE4CFFF90EF90DF90CF90BF9076 +:10022000AF909F908F9008951F920F920FB60F92EC +:1002300011242F933F938F939F93AF93BF938091FC +:10024000010190910201A0910301B091040130914C +:10025000000123E0230F2D3758F50196A11DB11D94 +:10026000209300018093010190930201A093030168 +:10027000B09304018091050190910601A0910701BE +:10028000B09108010196A11DB11D809305019093C5 +:100290000601A0930701B0930801BF91AF919F9110 +:1002A0008F913F912F910F900FBE0F901F90189537 +:1002B00026E8230F0296A11DB11DD2CF789484B5F4 +:1002C000826084BD84B5816084BD85B5826085BD52 +:1002D00085B5816085BD80916E00816080936E00E0 +:1002E00010928100809181008260809381008091D2 +:1002F0008100816080938100809180008160809383 +:1003000080008091B10084608093B1008091B00042 +:1003100081608093B00080917A00846080937A003D +:1003200080917A00826080937A0080917A00816067 +:1003300080937A0080917A00806880937A0010928E +:10034000C100ECEAF0E02491E8E9F0E08491882330 +:1003500099F090E0880F991FFC01EA57FF4FA59193 +:10036000B491FC01E458FF4F859194918FB7F894B4 +:10037000EC91E22BEC938FBFC0E0D0E061E088E02D +:100380000E94700064E670E080E090E00E94E1006E +:1003900060E088E00E94700064E670E080E090E039 +:1003A0000E94E100209751F30E940000E7CFF894EB +:0203B000FFCF7D +:00000001FF diff --git a/Buzzer/Buzzer.ino b/Buzzer/Buzzer.ino new file mode 100644 index 0000000..1a5c1f8 --- /dev/null +++ b/Buzzer/Buzzer.ino @@ -0,0 +1,14 @@ +// Buzzer +int buzzerPin = 8; +int time = 100; + +void setup() { + pinMode(buzzerPin, OUTPUT); +} + +void loop() { + digitalWrite(buzzerPin, HIGH); + delay(time); + digitalWrite(buzzerPin, LOW); + delay(time); +}