Hi,
I setup a basic serial in/out loop but I don’t see any data ??? The Serial IN/OUT pins of the 28X2 are jumpered to the gray cable from the PIXY CMUcam5
28X2 to PIXY
2 to 1
1 to 4
I have the PIXY CMUcam5 I/F setup for SPI with SS at 9600 8N1 Baud
Got any clues why I can’t data from the PIXY CMUcam5?
#picaxe 28X2 ; type chip used
#terminal 9600
; Serial IN = PIN 2 of 28X2 module
; SerialOUT = PIN 1 of 28X2 module
Do
;----------------------------------------Sig#----XPos—YPos------Width------Height===========The data Bytes I want to retrieve
SerIN 0,T9600_8,b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17
SerTXD ("PIXY say’s; ",b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17)
pause 10
Loop
IF I comment out the SerIN command all I ever see on the terminal window is "PIXY say’s; " over and over … otherwise I do not seem to be receiving any info from the PIXY CMUcam5 and SerTXD doesn’t send anything back to the #Terminal window ???
I want to make a new toy!