I made a stupid
M. K. Borri
Posts: 279
I made a major stupid, and misdesigned a pcb -- basically I have a OV6620 camera with the Y lines feeding into the propeller's first i/o pins.
Problem is, they're backwards!
So now I have Y7 going into pin 0, Y6 going into pin 1... Y0 going into pin 7.
In assembly, how would I swap the bits?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=650217
meow, i have my own topic now? (sorta)
Problem is, they're backwards!
So now I have Y7 going into pin 0, Y6 going into pin 1... Y0 going into pin 7.
In assembly, how would I swap the bits?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=650217
meow, i have my own topic now? (sorta)
Comments
rev IMadeAStupid, #24 wr
and that's it? one asm instruction?
wow.... lucky me @_@
thankyou so very much.... will try it!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=650217
meow, i have my own topic now? (sorta)
The "wr" is on by default. Shift instructions always write the result unless "nr" is specified.