Shop OBEX P1 Docs P2 Docs Learn Events
Problem with this program.. — Parallax Forums

Problem with this program..

smokysmoky Posts: 19
edited 2009-07-28 01:53 in BASIC Stamp
Hi to all experts,
···················· Can anyone guide me with this program? I cant understand this.··················

Basically i have connected the·TTL serial port (Ground,·SX28 Transmit, PC Receive and SX28 Recieve, PC·Transmit·of the camera to the (ground, pin9 and pin7) of the basic stamp respectively.·And i gotten reading from the connection.·My aim is to differentiate black and white with this program. Is it possible to tell black or white with the reading provided via this program?

Can anyone tell me what are all those below means?

Really appreciated all the helps here...



DEBUG "Red Mean ",DEC RCVData(2) ,CR
DEBUG "Green Mean ",DEC RCVData(3) ,CR
DEBUG "Blue Mean ",DEC RCVData(4) ,CR
DEBUG "Red Deviation ",DEC RCVData(5) ,CR
DEBUG "Green Deviation ",DEC RCVData(6) ,CR
DEBUG "Blue Deviation ",DEC RCVData(7) ,CR
DEBUG " ", CR

DEBUG "Middle Mass X ",DEC RCVData(2) ,CR
DEBUG "Middle Mass Y ",DEC RCVData(3) ,CR
DEBUG "Left Corner X ",DEC RCVData(4) ,CR
DEBUG "Left Corner Y ",DEC RCVData(5) ,CR
DEBUG "Right corner X ",DEC RCVData(6) ,CR
DEBUG "Right Corner Y ",DEC RCVData(7) ,CR
DEBUG "Pixels ",DEC RCVData(8) ,CR
DEBUG "Confidence ",DEC RCVData(9) ,CR
DEBUG " ", CR

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-28 01:53
    This is not a problem that has to do with a Stamp or how a Stamp works. It is strictly a matter of learning to understand the CMUcam and its programming. It is not an appropriate question for this forum which is about supporting the Stamp. Please ask your question about the CMUcam in the Sandbox Forum or direct your questions to CMU and any support forums about the CMUcam.
Sign In or Register to comment.