move stuff
parent
572138141b
commit
f302a6d277
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,54 +0,0 @@
|
||||
// Wire Master Writer
|
||||
// by Nicholas Zambetti <http://www.zambetti.com>
|
||||
|
||||
// Demonstrates use of the Wire library
|
||||
// Writes data to an I2C/TWI slave device
|
||||
// Refer to the "Wire Slave Receiver" example for use with this
|
||||
|
||||
// Created 29 March 2006
|
||||
|
||||
#include <Wire.h>
|
||||
|
||||
#include "WProgram.h"
|
||||
void setup();
|
||||
void loop();
|
||||
void setup()
|
||||
{
|
||||
Wire.begin(); // join i2c bus (address optional for master)
|
||||
Serial.begin(9600);
|
||||
}
|
||||
|
||||
byte x = 0;
|
||||
|
||||
void loop()
|
||||
{
|
||||
|
||||
Wire.beginTransmission(4); // transmit to device #4
|
||||
Wire.send("x is "); // sends five bytes
|
||||
Wire.send(x); // sends one byte
|
||||
Wire.endTransmission(); // stop transmitting
|
||||
|
||||
//Wire.requestFrom(2,2);
|
||||
while(Wire.available()) // loop through all but the last
|
||||
{
|
||||
char c = Wire.receive(); // receive byte as a character
|
||||
Serial.print(c); // print the character
|
||||
}
|
||||
|
||||
x++;
|
||||
delay(500);
|
||||
Serial.print(".");
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
init();
|
||||
|
||||
setup();
|
||||
|
||||
for (;;)
|
||||
loop();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
:00000001FF
|
Binary file not shown.
@ -1,245 +0,0 @@
|
||||
:100000000C9436000C945E000C945E000C945E0020
|
||||
:100010000C945E000C945E000C945E000C945E00E8
|
||||
:100020000C945E000C945E000C945E000C945E00D8
|
||||
:100030000C945E000C945E000C945E000C945E00C8
|
||||
:100040000C948D040C945E000C9439050C945E00A5
|
||||
:100050000C945E000C945E000C945E000C945E00A8
|
||||
:100060000C948E020C945E00A501820611241FBE22
|
||||
:10007000CFEFD4E0DEBFCDBF11E0A0E0B1E0ECE116
|
||||
:10008000FFE002C005900D92A831B107D9F711E049
|
||||
:10009000A8E1B1E001C01D92AA3DB107E1F710E06F
|
||||
:1000A000CCE6D0E004C02297FE010E948807C83643
|
||||
:1000B000D107C9F70E9486040C948C070C940000A9
|
||||
:1000C0000F931F93CF93DF93689F8001699F100D5B
|
||||
:1000D000789F100D1124C8010E947C00EC0100974C
|
||||
:1000E00029F060E070E0A8010E947B01CE01DF9161
|
||||
:1000F000CF911F910F910895CF93DF93BC01823070
|
||||
:10010000910510F462E070E0A091D801B091D9019E
|
||||
:10011000ED01E0E0F0E040E050E021C0888199810D
|
||||
:100120008617970769F48A819B81309719F093832A
|
||||
:10013000828304C09093D9018093D801FE0133C01B
|
||||
:100140006817790738F44115510519F08417950798
|
||||
:1001500008F4AC01FE018A819B819C01E901209792
|
||||
:10016000E9F641155105A1F1CA01861B970B0497C9
|
||||
:1001700008F4BA01E0E0F0E029C08D919C9111975C
|
||||
:1001800084179507F1F46417750779F4ED018A81F6
|
||||
:100190009B81309719F09383828304C09093D90197
|
||||
:1001A0008093D801FD0132964CC0CA01861B970B83
|
||||
:1001B000FD01E80FF91F6193719302978D939C9352
|
||||
:1001C00040C0FD01828193819C01D9011097A9F65D
|
||||
:1001D0008091D6019091D701892B41F480910A0139
|
||||
:1001E00090910B019093D7018093D60140910C011F
|
||||
:1001F00050910D014115510541F44DB75EB7809105
|
||||
:10020000080190910901481B590B2091D6013091AA
|
||||
:10021000D701CA01821B930B8617970780F0AB01A9
|
||||
:100220004E5F5F4F8417950750F0420F531F509356
|
||||
:10023000D7014093D601F9016193719302C0E0E0C8
|
||||
:10024000F0E0CF01DF91CF910895CF93DF93009736
|
||||
:1002500009F44EC0EC0122971B821A82A091D801AA
|
||||
:10026000B091D901109701F140E050E0AC17BD0703
|
||||
:1002700000F1BB83AA83FE0121913191E20FF31FAC
|
||||
:10028000AE17BF0771F48D919C911197280F391FFC
|
||||
:100290002E5F3F4F39832883FD01828193819B83A9
|
||||
:1002A0008A834115510569F4D093D901C093D801CF
|
||||
:1002B0001FC0FD0182819381AD01009711F0DC0127
|
||||
:1002C000D5CFFA01D383C28321913191E20FF31F7D
|
||||
:1002D000CE17DF0769F488819981280F391F2E5FB7
|
||||
:1002E0003F4FFA01318320838A819B8193838283EC
|
||||
:1002F000DF91CF910895DC0101C06D9341505040D2
|
||||
:10030000E0F7089581E08093210160931C01109231
|
||||
:100310001F0110922001089580911B0190911A01F4
|
||||
:10032000891B089590911A0180911B01981710F074
|
||||
:1003300080E00895E0911801F0911901E90FF11D95
|
||||
:1003400080819F5F90931A0108950895DF93CF9362
|
||||
:100350000F92CDB7DEB76983809121018823A9F080
|
||||
:10036000809120018032B0F480911F01E0911D0145
|
||||
:10037000F0911E01E80FF11D608380911F018F5FD6
|
||||
:1003800080931F018093200105C0CE01019661E09A
|
||||
:100390000E9471020F90CF91DF910895EF92FF922A
|
||||
:1003A0000F931F93CF93DF937C01042F8091210142
|
||||
:1003B000882359F0EB0110E005C0C70169910E9444
|
||||
:1003C000A6011F5F1017C8F304C0CB01642F0E9461
|
||||
:1003D0007102DF91CF911F910F91FF90EF900895DF
|
||||
:1003E000DB010D900020E9F71197A61BB70B4A2FF0
|
||||
:1003F0000E94CE01089560911D0170911E018091AF
|
||||
:100400001C014091200121E00E942C0210921F014A
|
||||
:100410001092200110922101089580E290E061E0A5
|
||||
:1004200070E00E946000809318019093190110926F
|
||||
:100430001A0110921B0180E290E061E070E00E94DE
|
||||
:10044000600080931D0190931E0110921F01109275
|
||||
:1004500020010E94100408951F93582F122F41323B
|
||||
:1004600010F081E03CC0809123018823E1F782E015
|
||||
:10047000809323018FEF8093340110922B014093DE
|
||||
:100480002C01A0912901B0912A01FB0102C08191A8
|
||||
:100490008D938E2F861B8417D0F3852F90E0880FC5
|
||||
:1004A000991F8093240185EE8093BC00112321F0D5
|
||||
:1004B000809123018230E1F3809134018F3F11F468
|
||||
:1004C00080E00DC080913401803211F482E007C0D9
|
||||
:1004D00080913401803311F084E001C083E01F91EA
|
||||
:1004E0000895482F613210F081E008958091230132
|
||||
:1004F000843011F082E0089560933001A0912D01C5
|
||||
:10050000B0912E01842F9C01F90102C081918D933D
|
||||
:100510008E2F841B8617D0F380E008951F920F92D0
|
||||
:100520000FB60F9211242F933F934F935F936F93C6
|
||||
:100530007F938F939F93AF93BF93EF93FF9380919C
|
||||
:10054000B90090E0887F90708036910509F4E2C090
|
||||
:1005500081369105CCF58832910509F47BC089324A
|
||||
:100560009105B4F48031910509F46FC08131910592
|
||||
:100570003CF4009709F438C1089709F040C165C000
|
||||
:100580008831910509F466C0809709F038C17FC0B1
|
||||
:100590008034910509F4A3C08134910544F480337B
|
||||
:1005A000910509F47FC0C89709F029C186C080353C
|
||||
:1005B000910509F486C08835910509F495C0883401
|
||||
:1005C000910509F01CC19EC08839910509F404C148
|
||||
:1005D00089399105ECF48837910509F49BC0893776
|
||||
:1005E00091054CF48836910509F494C08037910543
|
||||
:1005F00009F005C18FC08838910509F4EDC0803934
|
||||
:10060000910509F48DC08038910509F0F8C088C0C3
|
||||
:10061000803B910509F4B2C0813B91054CF4803ACE
|
||||
:10062000910509F491C0883A910509F0E8C0A6C087
|
||||
:10063000803C910509F4D4C0883C910509F4D0C0F0
|
||||
:10064000883B910509F0DBC0B1C080912401809303
|
||||
:10065000BB00C0C090912B0180912C01981778F4B9
|
||||
:1006600090912B01E0912901F0912A01E90FF11DF0
|
||||
:1006700080818093BB009F5F90932B01ABC085ED81
|
||||
:100680008093BC008091BC0084FDFCCFB6C080E2AA
|
||||
:100690008093340185ED8093BC008091BC0084FD83
|
||||
:1006A000FCCFABC080E38093340185ED8093BC0028
|
||||
:1006B0008091BC0084FDFCCFA0C088E3809334010E
|
||||
:1006C0008FC080912B019091BB00E0912901F091A6
|
||||
:1006D0002A01E80FF11D90838F5F80932B01909189
|
||||
:1006E0002B0180912C0174C080912B019091BB0053
|
||||
:1006F000E0912901F0912A01E80FF11D90838F5FAD
|
||||
:1007000080932B0185ED8093BC008091BC0084FD1B
|
||||
:10071000FCCF73C083E080932301109233015AC051
|
||||
:1007200080913301803208F057C08091330190915D
|
||||
:10073000BB00E0913101F0913201E80FF11D90838F
|
||||
:100740008F5F8093330146C080913301803248F43B
|
||||
:1007500080913301E0913101F0913201E80FF11DF8
|
||||
:10076000108260913301E0912701F091280180917E
|
||||
:1007700031019091320170E0099532C084E080939C
|
||||
:10078000230110922F0110923001E0912501F09188
|
||||
:100790002601099580913001882341F481E08093FE
|
||||
:1007A0003001E0912D01F0912E01108290912F01E6
|
||||
:1007B000E0912D01F0912E01E90FF11D80818093D0
|
||||
:1007C000BB009F5F90932F0190912F01809130018A
|
||||
:1007D000981710F485EC01C085E88093BC000FC029
|
||||
:1007E00085EC8093BC0009C01092340185ED8093A4
|
||||
:1007F000BC008091BC0084FDFCCF10922301FF91CE
|
||||
:10080000EF91BF91AF919F918F917F916F915F9188
|
||||
:100810004F913F912F910F900FBE0F901F90189501
|
||||
:1008200010922301449A459AE9EBF0E080818E7F93
|
||||
:10083000808380818D7F808388E48093B80085E405
|
||||
:100840008093BC0080E290E061E070E00E94600074
|
||||
:100850008093290190932A0180E290E061E070E0AA
|
||||
:100860000E94600080932D0190932E0180E290E021
|
||||
:1008700061E070E00E94600080933101909332014A
|
||||
:10088000089582E291E064E070E00E94820182E2D9
|
||||
:1008900091E060E071E00E94F00182E291E06091FD
|
||||
:1008A00035010E94A60182E291E00E94FB0109C08D
|
||||
:1008B00082E291E00E949201682F83EC91E00E9415
|
||||
:1008C000F30682E291E00E948C01882389F78091EF
|
||||
:1008D00035018F5F8093350164EF71E080E090E037
|
||||
:1008E0000E94D50483EC91E066E071E00E94FB0673
|
||||
:1008F000089582E291E00E940D0283EC91E040E8CD
|
||||
:1009000055E260E070E00E94760508950E94FF04C1
|
||||
:100910000E9479040E944104FDCF1F920F920FB6EE
|
||||
:100920000F9211242F933F938F939F93AF93BF9375
|
||||
:1009300080913A0190913B01A0913C01B0913D0121
|
||||
:1009400030913E010196A11DB11D232F2D5F2D3742
|
||||
:1009500020F02D570196A11DB11D20933E018093DB
|
||||
:100960003A0190933B01A0933C01B0933D018091EB
|
||||
:10097000360190913701A0913801B091390101966B
|
||||
:10098000A11DB11D8093360190933701A0933801CA
|
||||
:10099000B0933901BF91AF919F918F913F912F916A
|
||||
:1009A0000F900FBE0F901F901895EF92FF920F932C
|
||||
:1009B0001F937B018C018FB7F89440913A015091BD
|
||||
:1009C0003B0160913C0170913D018FBF2FB7F894BE
|
||||
:1009D00080913A0190913B01A0913C01B0913D0181
|
||||
:1009E0002FBF841B950BA60BB70BE816F9060A0759
|
||||
:1009F0001B0760F71F910F91FF90EF900895789477
|
||||
:100A000084B5826084BD84B5816084BD85B5826013
|
||||
:100A100085BD85B5816085BDEEE6F0E080818160B1
|
||||
:100A20008083E1E8F0E08081826080838081816062
|
||||
:100A30008083E0E8F0E0808181608083E1EBF0E09A
|
||||
:100A4000808184608083E0EBF0E08081816080833E
|
||||
:100A5000EAE7F0E080818460808380818260808327
|
||||
:100A60008081816080838081806880831092C10052
|
||||
:100A700008951F920F920FB60F9211242F933F9358
|
||||
:100A80004F935F936F937F938F939F93AF93BF9396
|
||||
:100A9000EF93FF934091C600E091BF01F091C00138
|
||||
:100AA000CF01019660E870E00E9422079C018091CE
|
||||
:100AB000C1019091C2012817390739F0E15CFE4F5E
|
||||
:100AC00040833093C0012093BF01FF91EF91BF910C
|
||||
:100AD000AF919F918F917F916F915F914F913F91D6
|
||||
:100AE0002F910F900FBE0F901F9018955F926F92ED
|
||||
:100AF0007F928F929F92AF92BF92CF92DF92EF92AE
|
||||
:100B0000FF920F931F93CF93DF93EC013A014B01B8
|
||||
:100B1000413482E458078FE0680780E078070CF0E2
|
||||
:100B20007FC060E874E88EE190E0A40193010E9428
|
||||
:100B300057072150304040405040CA01B90122E0DF
|
||||
:100B400030E040E050E00E94570759016A01A601D9
|
||||
:100B50009501209530954095509594E0220F331FD4
|
||||
:100B6000441F551F9A95D1F760E074E284EF90E03E
|
||||
:100B70000E945707CA01B9012FEF30E040E050E072
|
||||
:100B80000E940307A40193010E945707C9018150E5
|
||||
:100B90009F4F181619061CF4522E5A9403C0552460
|
||||
:100BA0005394521A60E079E08DE390E0A401930140
|
||||
:100BB0000E9457072150304040405040CA01B901BF
|
||||
:100BC00022E030E040E050E00E9457072095309549
|
||||
:100BD0004095509583E0220F331F441F551F8A957F
|
||||
:100BE000D1F760E074E284EF90E00E945707CA01F9
|
||||
:100BF000B9012FEF30E040E050E00E940307A4016C
|
||||
:100C000093010E945707C90181509F4F181619067A
|
||||
:100C10001CF4822F815002C081E0821B851500F5F3
|
||||
:100C2000E885F98581E090E00A8802C0880F991F65
|
||||
:100C30000A94E2F7808360E079E08DE390E0A4011C
|
||||
:100C400093010E9457072150304040405040CA0154
|
||||
:100C5000B90122E030E040E050E00E94570704C0B4
|
||||
:100C6000E885F98510829501EC81FD813083EE8164
|
||||
:100C7000FF812083EA85FB85208141E050E0CA01A5
|
||||
:100C80000E8402C0880F991F0A94E2F7282B208354
|
||||
:100C9000EA85FB852081CA010F8402C0880F991F55
|
||||
:100CA0000A94E2F7282B2083EA85FB858081088857
|
||||
:100CB00002C0440F551F0A94E2F7842B8083DF9112
|
||||
:100CC000CF911F910F91FF90EF90DF90CF90BF9049
|
||||
:100CD000AF909F908F907F906F905F900895FC01F0
|
||||
:100CE000A085B18521898C9190E0022E02C0959556
|
||||
:100CF00087950A94E2F780FFF6CF0484F585E02D0E
|
||||
:100D00006083089582E191E09093C4018093C301D0
|
||||
:100D10008FE391E09093C6018093C50185EC90E04C
|
||||
:100D20009093C8018093C70184EC90E09093CA012E
|
||||
:100D30008093C90180EC90E09093CC018093CB012B
|
||||
:100D400081EC90E09093CE018093CD0186EC90E011
|
||||
:100D50009093D0018093CF0184E08093D10183E010
|
||||
:100D60008093D20187E08093D30185E08093D40102
|
||||
:100D700081E08093D50108950F931F93CF93DF9364
|
||||
:100D80008C01EB0109C02196D801ED91FC910190F5
|
||||
:100D9000F081E02DC801099568816623A1F7DF91F4
|
||||
:100DA000CF911F910F910895EF92FF920F931F9390
|
||||
:100DB000CF93DF938C017B01EA010CC0D7016D91C9
|
||||
:100DC0007D01D801ED91FC910190F081E02DC801E9
|
||||
:100DD00009952197209791F7DF91CF911F910F915E
|
||||
:100DE000FF90EF900895DC01ED91FC910190F0816E
|
||||
:100DF000E02D09950895DC01ED91FC910280F381CD
|
||||
:100E0000E02D09950895629FD001739FF001829FA4
|
||||
:100E1000E00DF11D649FE00DF11D929FF00D839F89
|
||||
:100E2000F00D749FF00D659FF00D9927729FB00D26
|
||||
:100E3000E11DF91F639FB00DE11DF91FBD01CF0139
|
||||
:100E40001124089597FB092E07260AD077FD04D0B8
|
||||
:100E500049D006D000201AF4709561957F4F08950F
|
||||
:100E6000F6F7909581959F4F0895A1E21A2EAA1B3F
|
||||
:100E7000BB1BFD010DC0AA1FBB1FEE1FFF1FA2174A
|
||||
:100E8000B307E407F50720F0A21BB30BE40BF50B47
|
||||
:100E9000661F771F881F991F1A9469F760957095D0
|
||||
:100EA000809590959B01AC01BD01CF01089597FB02
|
||||
:100EB000092E05260ED057FD04D0D7DF0AD0001C1E
|
||||
:100EC00038F450954095309521953F4F4F4F5F4FE7
|
||||
:100ED0000895F6F790958095709561957F4F8F4FA7
|
||||
:100EE0009F4F0895AA1BBB1B51E107C0AA1FBB1F40
|
||||
:100EF000A617B70710F0A61BB70B881F991F5A95A6
|
||||
:100F0000A9F780959095BC01CD010895EE0FFF1FC4
|
||||
:0C0F10000590F491E02D0994F894FFCFB7
|
||||
:100F1C007820697320002E002000DA010000000008
|
||||
:080F2C0000006F06BC06D406AC
|
||||
:00000001FF
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue