michael boyd
Member
Hi
I am having trouble downloading my test pogram. The error shows the normal issues eg no power, hardware not connected etc:
I think I have completed everything be the book. Using the 18x with code that I cut and paste
sorry for the blurry picture. I completely remade the serial plug board when the first error message came up using all new components, however error messages are the same.
the picaxe has 5v and the test servo is holding its position
'***************************
'* SD21 example code *
'* with picaxe 18x *
'***************************
i2cslave $C2,i2cfast,i2cbyte ' Join i2c with SD21
main: i2cwrite 63,(255) ' Set servo 1 to 255
pause 500
i2cwrite 63,(128) ' Set servo 1 to 128
pause 500
i2cwrite 63,(0) ' Set servo 1 to 0
pause 500
i2cwrite 63,(128) ' set servo 1 to 128
pause 500
goto main
Any ideas?
I am having trouble downloading my test pogram. The error shows the normal issues eg no power, hardware not connected etc:
I think I have completed everything be the book. Using the 18x with code that I cut and paste
sorry for the blurry picture. I completely remade the serial plug board when the first error message came up using all new components, however error messages are the same.
the picaxe has 5v and the test servo is holding its position
'***************************
'* SD21 example code *
'* with picaxe 18x *
'***************************
i2cslave $C2,i2cfast,i2cbyte ' Join i2c with SD21
main: i2cwrite 63,(255) ' Set servo 1 to 255
pause 500
i2cwrite 63,(128) ' Set servo 1 to 128
pause 500
i2cwrite 63,(0) ' Set servo 1 to 0
pause 500
i2cwrite 63,(128) ' set servo 1 to 128
pause 500
goto main
Any ideas?
Attachments
-
39.9 KB Views: 52
-
515.5 KB Views: 39