Hi,
Thanks, I understand.
I should have place the code here, what DID compile, sorry for that...
( while I was coding, I made a screenshot for here )
Let's make a new start!
First of all, the servo-pcb is working. Using the software delivered by the pcb, one can control a servo,just 1 at a time.
By using the slides or by a command followed by pressing button "Test".
When sending a command from the software:
Like #12P0034! or #05P1234!
what makes servo 12 go to position 0034 ande servo 05 go to position 1234.
This works fine!
I intercepted some comands by a logic-analyzer, as you can see in picture below.
The logic analyzer shows what had been send in terms of e.g. 0x23
Now, I want to send this with Lazarus.
Got al the com setting the same as in the software delivered by the pcb.
After watching some commands with their results in the logic-analyzer, it's clear to me how the command is being transmitted, see picture.
But, ( off caurse
) now I'm writing this I understand I have to connect the logic analyzer again so I can see what Lazarus is sending ( or not ).
In my tests I allready had only 1 program at once using the comport ( com3 in my case ), so there's no issue between lazarus or the software delivered by pcb.