RF remote control

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
dilpkan
Posts: 3
Joined: Mon Nov 12, 2007 12:16 pm

RF remote control

Post by dilpkan »

:) I am working on a rf remote control project to display four digit number on four seven segment led digit board. How can I use Flowcode3 to acheive that ?

User avatar
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:

Post by Benj »

Hello

If you use common anode seven segments displays and wire them up the same as our E-Blocks (schematic available from the E-Block support section of website) then you can use the quad seven segment display component in Flowcode to control each of the displays.

Each display needs to be refreshed individually so you must create a loop do the following.

Write number to display1, wait approx 5ms
Write number to display2, wait approx 5ms
Write number to display3, wait approx 5ms
Write number to display4, wait approx 5ms
Write number to display1, wait approx 5ms
etc

To make your code easier it may be worth your while using a timer interrupt to start the refresh process. See the Flowcode help file on interrupts for how to do this.

dilpkan
Posts: 3
Joined: Mon Nov 12, 2007 12:16 pm

Thanks

Post by dilpkan »

:D Thanks a lot! I'll try that immediately.

Post Reply