hi all
i am trying to make my own radiocommand system and for this as i have several subsysems which need speed i thought (with hippy's help) to use 3 picaxes. the master 28x2 which runs the main tasks and also drive 8 servo and and some other devices
and two 20x2 picaxe .the first one is the"communications driver" ,it drive an xbeepro
the other one, drives a 3d gyro and 3d accelero (its data flow runs at 115200bds)
at this time ,what i can't reach is i2c communication beetwen master 28x2 and slave "communication driver"
the "communication driver" exchange data at 115200bds with the xbee ,using background interrupt (this part runs correctly)
and when it receives data to transmit to the picaxe 28x2 ,transmit is done via the i2c bus : 20x2 send data to the 28x2's scratchpad
this part of program does not work as my attempt
i joined 2 progs (the sound command are just here for tracing)
some help will be welcome
jyb
[/ATTACH]
i am trying to make my own radiocommand system and for this as i have several subsysems which need speed i thought (with hippy's help) to use 3 picaxes. the master 28x2 which runs the main tasks and also drive 8 servo and and some other devices
and two 20x2 picaxe .the first one is the"communications driver" ,it drive an xbeepro
the other one, drives a 3d gyro and 3d accelero (its data flow runs at 115200bds)
at this time ,what i can't reach is i2c communication beetwen master 28x2 and slave "communication driver"
the "communication driver" exchange data at 115200bds with the xbee ,using background interrupt (this part runs correctly)
and when it receives data to transmit to the picaxe 28x2 ,transmit is done via the i2c bus : 20x2 send data to the 28x2's scratchpad
this part of program does not work as my attempt
i joined 2 progs (the sound command are just here for tracing)
some help will be welcome
jyb
[/ATTACH]
Attachments
-
1.3 KB Views: 13