urgent: how to make LED's blink be decoded by a tracking camera

Thread Starter


Joined Feb 9, 2009
I am trying to make an LED blink in such a way that it can be decoded by a camera. I am using an attiny85V microcontroller and an avrisp mkII programmer. For compiling, I am using AVR studio 4. I am able to toggle the LED b/w different colors and make it blink, etc. What I want to know is how should I program it so that its blinking pattern could be decoded by a camera. For example, should I try to transmit some number in binary? If so, how would I go about doing it? 1-2 lines of code would help me a lot to get started.
Thanks a lot!!