
RF remote control
RF remote control

- 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:
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.
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.
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