hi
i am trying to write a program to send data to PC through air using LEDs and
photodiodes . i am using 4800 baud rate to comunicate .thus for approx 208microsec the led should toggle to send one bit. i have wriiten a program to toggle the led ,wait for 208 microsec and then toggle again.
BUT THATS NOT WORKING
data is displayed but not the one i try to send
Can anybody tell me how to calcute the delay time between two toggles for 4800 baud rate
i am trying to write a program to send data to PC through air using LEDs and
photodiodes . i am using 4800 baud rate to comunicate .thus for approx 208microsec the led should toggle to send one bit. i have wriiten a program to toggle the led ,wait for 208 microsec and then toggle again.
BUT THATS NOT WORKING
data is displayed but not the one i try to send
Can anybody tell me how to calcute the delay time between two toggles for 4800 baud rate