thedemri
Joined: 22 Sep 2007 Posts: 3
|
Sony Lanc source code |
Posted: Tue Mar 02, 2010 1:38 am |
|
|
Hi
I'm deep in the programming of the LANC protocol . And I wish I could have a CCS C source code as a reference (not ASM).
If anyone of you can halp in this topic please do.
Anyway, some questions about the protocol:
I am working with a scope and an external controller.
I also have a list of the LANC commands. I'm currently detecting the frame of each BYTE and know the timing of every BIT.
But I have run into three problems, I will be happy if you could help me with them:
1. The order of bits in every byte is a 0 first and last 7 or vice versa?
2. When I want to write a command to the camera, at what point of the bit timing am I supposed to modify the BIT logic state ? Mid-time or early the beginning of BIT? And for how long the BIT logic state must appear for the camera to recognize it as 1 or 0 ?
3. Is +5 volts is considered a 1 or 0?
thanks Amnon |
|