good evening
using:
flowcode 4.5.18
EB006 Development Board
PIC 16F876A
LCD Board
i would like to set a sw clock via rs232 but i have no idea how to make a concept for this task
first i took the example from flowcode called digital clock
my idea was to send a string like 12:30 via hyperterminal
then took the 1 for hours _tens the 2 for hours_one the 3 for minutes_tens and the 0 for minutes_one then restarting the clock with these values
is this possible? and how? or is there a better solution?- i would be very happy if anyone could give me a little support
thanx goingo
Set SW Clock via rs232
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Set SW Clock via rs232
Hello,
Here is a quick untested example which should be something along the lines of what you require.
Here is a quick untested example which should be something along the lines of what you require.
- Attachments
-
- 3. Digital Clock_RX.fcf
- (15.17 KiB) Downloaded 278 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Set SW Clock via rs232
many thanx for your fast reply
yes thats wath i have in my mind
im very sorry that your programm doesnt work in simulation and hardware too
is it possible for you to explain me what is going on in the convert cmd & data from ascii icon?
and why are you dividing and multipling by 10 in the hours digit calculation?
then ill try to go on by myself
goingo
yes thats wath i have in my mind
im very sorry that your programm doesnt work in simulation and hardware too
is it possible for you to explain me what is going on in the convert cmd & data from ascii icon?
and why are you dividing and multipling by 10 in the hours digit calculation?
then ill try to go on by myself
goingo