Hi i been having trouble doing a simple task, i want to send a message to a lcd using a button (any port) and do nothing, then using the same button send another one one line below, so i can see the two messages, but i cant figure out how to do this because every time i try with the button (momentary push button) it sends me the two messages, i tried alot of thins (incrementing a variable doesnt seem to work it always goes back to 0 i tried b=a+a b being the vairable and a the button but it always shows 2 and when the button is released it goes back to 0 so it doesnt work), i think that i could do it with ASM instructions (using the JZ and the jumping to the messsage), so if you have any idea how to do it or at least using the ASM commands i would be very grateful
thaknks
Using a single buton to make several outputs
- 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: Using a single buton to make several outputs
Hello,
This file should help you to get started.
This file should help you to get started.
- Attachments
-
- Flowcode1.fcf
- (6 KiB) Downloaded 332 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