STR storing question
Yojimbo
Posts: 40
Ok, suppose I want to catch a String of bytes kicked out by the CMUcam1, but the packet is large, a 352 pixel (potentially 3 times that amount in bytes I think). Is there anyway I can catch that with the SERIN command and save it to RAM so I can SEROUT it in a single, large block? I'm using a BS2 which has 2Kb of RAM. Thanks for any input!
Comments
·· Actually the BS2 has 2KB of EEPROM, but 26 bytes of available RAM.· You will not be able to store an image in RAM and send it back out.· You·might be able·to do it one byte at a time, if the data is coming in slow enough.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
The CMUCam1 will only download a full image at 115k baud. You can do degraded quality pictures a little slower, I forget the baud rate. I have a CMUCam on a robot, and use a EB500 card to communicate with a PC. I had to modify the Parallax version of the 'cam to do so. When I get a round tuit this summer, I plan on working on an image dump.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com