Silly question


Closed Thread
Results 1 to 6 of 6

Thread: Silly question

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    with this
    Name:  28317-M.jpg
Views: 255
Size:  17.1 KB

    http://www.parallax.com/Store/Sensor...6/Default.aspx

    you can do what you asked with 16F628A.

    This cam gives you analog output for the surface it is sensing for each pixel (128 pixel).
    The pixels are mapped with gray scale 0 - 255.
    Since you only need black and white as 1 and 0, you do not need analog feature.
    Also, you can see the surface from 10cm above.
    It gives you a line of 128-pixels in an array; in your case, 0's and 1's.

    With your coding, you can see the line on the surface something like 0000000000111111110000000000.
    Last edited by sayzer; - 13th March 2012 at 17:29. Reason: added short desc.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts