diff --git a/Week 3/Servo/Servo.arduino.avr.uno.elf b/Week 3/Servo/Servo.arduino.avr.uno.elf new file mode 100755 index 0000000..5b29ff4 Binary files /dev/null and b/Week 3/Servo/Servo.arduino.avr.uno.elf differ diff --git a/Week 3/Servo/Servo.arduino.avr.uno.hex b/Week 3/Servo/Servo.arduino.avr.uno.hex new file mode 100644 index 0000000..22779d0 --- /dev/null +++ b/Week 3/Servo/Servo.arduino.avr.uno.hex @@ -0,0 +1,112 @@ +:100000000C945D000C9485000C9485000C94850084 +:100010000C9485000C9485000C9485000C9485004C +:100020000C9485000C9485000C9485000C94AE0112 +:100030000C9485000C9485000C9485000C9485002C +:100040000C9464010C9485000C9485000C9485003C +:100050000C9485000C9485000C9485000C9485000C +:100060000C9485000C94850000000008000201003B +:100070000003040700000000000000000000000072 +:10008000250028002B0000000000240027002A0083 +:10009000040404040404040402020202020203032E +:1000A0000303030301020408102040800102040836 +:1000B0001020010204081020480311241FBECFEFB6 +:1000C000D8E0DEBFCDBF11E0A0E0B1E0EEEEF6E09B +:1000D00002C005900D92A030B107D9F721E0A0E051 +:1000E000B1E001C01D92A233B207E1F710E0CDE507 +:1000F000D0E004C02197FE010E946F03CC35D107E8 +:10010000C9F70E946A020C9475030C940000E091F8 +:100110000B01EC3088F540910C0128E830E0241BFD +:10012000310947FD3395220F331F220F331F8217EA +:10013000930784F040910D0128E532E0241B31093A +:1001400047FD3395220F331F220F331F821793076A +:100150000CF49C0122503109220F331F4FB7F89441 +:100160008E2F90E0FC01EE0FFF1FE80FF91FE25FFA +:10017000FE4F328321834FBF089590E0FC01E85980 +:10018000FF4F2491FC01EC55FF4F3491FC01E057E7 +:10019000FF4FE491EE23C9F0222339F0233001F11F +:1001A000A8F4213019F1223029F1F0E0EE0FFF1F01 +:1001B000E458FF4FA591B4918FB7F894EC91611179 +:1001C00026C030953E233C938FBF08952730A9F079 +:1001D0002830C9F0243049F7809180008F7D03C01A +:1001E000809180008F7780938000DFCF84B58F77F8 +:1001F00084BDDBCF84B58F7DFBCF8091B0008F773E +:100200008093B000D2CF8091B0008F7DF9CF3E2B8C +:10021000DACF3FB7F8948091070190910801A0913F +:100220000901B0910A0126B5A89B05C02F3F19F01E +:100230000196A11DB11D3FBFBA2FA92F982F882766 +:10024000BC01CD01620F711D811D911D42E0660F41 +:10025000771F881F991F4A95D1F708958F929F9213 +:10026000AF92BF92CF92DF92EF92FF920E9409016C +:100270004B015C0188EEC82E83E0D82EE12CF12CD6 +:100280000E940901681979098A099B09683E73402F +:1002900081059105A8F321E0C21AD108E108F1080F +:1002A00088EE880E83E0981EA11CB11CC114D104F5 +:1002B000E104F10429F7FF90EF90DF90CF90BF9019 +:1002C000AF909F908F9008951F920F920FB60F924C +:1002D00011242F933F938F939F93AF93BF9380915C +:1002E000030190910401A0910501B09106013091A4 +:1002F000020123E0230F2D3758F50196A11DB11DF2 +:10030000209302018093030190930401A0930501BF +:10031000B09306018091070190910801A091090115 +:10032000B0910A010196A11DB11D80930701909320 +:100330000801A0930901B0930A01BF91AF919F9169 +:100340008F913F912F910F900FBE0F901F90189596 +:1003500026E8230F0296A11DB11DD2CF1F920F9246 +:100360000FB60F9211242F933F934F935F936F9388 +:100370007F938F939F93AF93BF93CF93DF93EF932D +:10038000FF9380910101C0910001D0E087FF24C05C +:100390001092850010928400809101018F5F8093FC +:1003A000010180910101082E000C990B8C179D070B +:1003B00024F4809101018C30C4F1809184009091EB +:1003C0008500049680349C4908F47AC080918400AA +:1003D00090918500049676C080910101082E000C52 +:1003E000990B8C179D07C4F6E09101018E2FEE0F3B +:1003F000990BFC01EE0FFF1FE80FF91FE25FFE4FA4 +:10040000808186FFC9CFE09101018E2FEE0F990BFD +:10041000FC01EE0FFF1FE80FF91FE25FFE4F808126 +:1004200060E08F730E94BD00B7CF209184003091AF +:100430008500E09101018E2FEE0F990BFC01EE0F6C +:10044000FF1FE80FF91FE25FFE4F81819281820F4B +:10045000931F9093890080938800E09101018E2F73 +:10046000EE0F990BFC01EE0FFF1FE80FF91FE25F83 +:10047000FE4F808186FF11C0E09101018E2FEE0FAB +:10048000990BFC01EE0FFF1FE80FF91FE25FFE4F13 +:10049000808161E08F730E94BD00FF91EF91DF9139 +:1004A000CF91BF91AF919F918F917F916F915F910C +:1004B0004F913F912F910F900FBE0F901F90189565 +:1004C00080E49CE990938900809388008FEF80936B +:1004D0000101E3CF789484B5826084BD84B58160E6 +:1004E00084BD85B5826085BD85B5816085BD8091FF +:1004F0006E00816080936E00109281008091810077 +:10050000826080938100809181008160809381006E +:10051000809180008160809380008091B100846030 +:100520008093B1008091B00081608093B000809191 +:100530007A00846080937A0080917A008260809350 +:100540007A0080917A00816080937A0080917A00AD +:10055000806880937A001092C10080910B018C30EA +:1005600008F068C0EAEAF0E02491E6E9F0E084915E +:10057000882399F090E0880F991FFC01EA57FF4FFC +:10058000A591B491FC01E458FF4F859194918FB7E8 +:10059000F894EC91E22BEC938FBF80910B01282F04 +:1005A00030E0F901EE0FFF1FE20FF31FE25FFE4F95 +:1005B0009081907C9660908310920C0110920D01B6 +:1005C0002CE0622F0E946303829FB001112430E06F +:1005D00020E0AB01420F531FFA01EE0FFF1FE40FA3 +:1005E000F51FE25FFE4F908196FD16C02F5F3F4FD3 +:1005F0002C30310571F781110FC01092800082E01C +:10060000809381001092850010928400B19A8091AD +:100610006F00826080936F00E0910B018E2F90E05D +:10062000FC01EE0FFF1FE80FF91FE25FFE4F808114 +:1006300080648083C8E8D0E008E512E040E0E42E62 +:1006400040E0F42E80910C019E01281B310987FDAA +:100650003395C901880F991F880F991F0E94870041 +:100660000E942E0180910D019801281B310987FD00 +:100670003395C901880F991F880F991F0E94870021 +:100680000E942E01E114F104E9F20E940000DACF89 +:10069000809100018C3098F491E0980F90930001C4 +:1006A00080930B0190E0FC01EE0FFF1FE80FF91F94 +:1006B000E25FFE4F88EB9BE09283818308958FEF8A +:1006C00080930B010895991B79E004C0991F961738 +:1006D00008F0961B881F7A95C9F780950895EE0F4C +:0E06E000FF1F0590F491E02D0994F894FFCFD0 +:00000001FF diff --git a/Week 3/Servo/Servo.ino b/Week 3/Servo/Servo.ino new file mode 100644 index 0000000..1cb7df6 --- /dev/null +++ b/Week 3/Servo/Servo.ino @@ -0,0 +1,14 @@ +#include + +Servo myservo; + +void setup() { + myservo.attach(6); +} + +void loop() { + myservo.write(0); + delay(1000); + myservo.write(180); + delay(1000); +}