07-14-2011 02:49 PM
Hi Everybody,
I'm making a program to recreate DCF77 Signal, I have a 60 width Bynary string (0001110101100..), and I have to separate them to send them 1 per second (whole string in 1 minute). 'Cause is a time/date signal and every bit generate an Amplitude Modulation. So my question is, anybody have an idea how to separate them and send them 1 per second?.
I've been thinking to subset string but that would not be very efective to have 60 subset boxes.
Thank you in advance.
Pablo.
07-14-2011 03:22 PM
I am assuming you don't have a binary string, but a binary formatted string consisting of the characters 0 and 1. If not, let us know.
All you need is a FOR loop with N=60 containing a string subset function wired to your string and the the iteration terminal and a 1 numeric diagram constant for size. Add an appropriate wait inside the loop and your communications code.