After consulting the Picaxe manual, I have concluded with the following code:
hsersetup B115200_X, %10 'setup serial to save to scratchpad
pause 10000 'power on the cmucam in this 10 seconds
b1 = hserptr 'the hserptr holds the number of bytes rcvd (CMUCam1.12), store that in b1
hserptr = 0 'reset the pointer to the start of the rcvd data
for b2 = 1 to b1 'iterate through the data
sertxd (@hserptr) ' re-transmit the item
hserptr=hserptr+1 ' increment the pointer
next b1
I apparently, need to set the X as described in the manual under hsersetup, however, I cannot find this, which is where some lucky Picaxe Pro comes along.
I think it has something to do with my chip's clock rate?
So I conclude with the question, what do I subsitute in for "X" in that code? And whether or not this code will run successfully with the CMUCam v1.2?
hsersetup B115200_X, %10 'setup serial to save to scratchpad
pause 10000 'power on the cmucam in this 10 seconds
b1 = hserptr 'the hserptr holds the number of bytes rcvd (CMUCam1.12), store that in b1
hserptr = 0 'reset the pointer to the start of the rcvd data
for b2 = 1 to b1 'iterate through the data
sertxd (@hserptr) ' re-transmit the item
hserptr=hserptr+1 ' increment the pointer
next b1
I apparently, need to set the X as described in the manual under hsersetup, however, I cannot find this, which is where some lucky Picaxe Pro comes along.
I think it has something to do with my chip's clock rate?
So I conclude with the question, what do I subsitute in for "X" in that code? And whether or not this code will run successfully with the CMUCam v1.2?
Last edited: