questions on keypads
Moderator: Benj
-
brandonb
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
questions on keypads
i've been doing flowcode for over a year and havent done anything with keypads, im not sure how to do all the string stuff and what all the string stuff actually does, can you guys help me out with this
-
brandonb
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: questions on keypads
i have one way of doing the numbers that i came up with but it is a bit weird
- Attachments
-
- keypad.fcf
- (16.5 KiB) Downloaded 306 times
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: questions on keypads
Hi Brandon,
I think you're like this?
I have Modified your Flowchart to efficiently transform it into a calculator that performs additions (from the PM you sent).
Results shown on bottom line of LCD and in Ulong therefore 0 to 4294967295
To keep adding numbers, enter number then press * key
E.g
56789
*
1234567
*
12
*
Will display
1291368 on the lower line.
Pressing # is the same as All Clear (AC) function on a calulator
The keypad was not connected, so I have connected it portB.
Is that correct?
Hope this helps.
Martin
I think you're like this?
I have Modified your Flowchart to efficiently transform it into a calculator that performs additions (from the PM you sent).
Results shown on bottom line of LCD and in Ulong therefore 0 to 4294967295
To keep adding numbers, enter number then press * key
E.g
56789
*
1234567
*
12
*
Will display
1291368 on the lower line.
Pressing # is the same as All Clear (AC) function on a calulator
The keypad was not connected, so I have connected it portB.
Is that correct?
Hope this helps.
Martin
- Attachments
-
- keypad Adding numbers.fcf
- (16.27 KiB) Downloaded 438 times
Martin
-
brandonb
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: questions on keypads
thanks martin, since i dont have a keypad i found a better resource (remote)
the toggle is a bit different than explained in tutorials for this remote
when you press a button it changes toggle state, if hold button or release button it does not change state
this makes it possible for me to have a wireless keypad and use the directional buttons in the middle to control the menu options
https://dl.dropbox.com/u/10367218/remote%20keypad.JPG no matter how long i hold any button since using a old_toggle<>toggle decsision it only logs changes
examle file below ($1 remote)
< buttons 0-9 always return 0-9 command >
the toggle is a bit different than explained in tutorials for this remote
when you press a button it changes toggle state, if hold button or release button it does not change state
this makes it possible for me to have a wireless keypad and use the directional buttons in the middle to control the menu options
< buttons 0-9 always return 0-9 command >
- Attachments
-
- Flowcode1.fcf
- (12.26 KiB) Downloaded 326 times
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: questions on keypads
Hi Brandon,
Using IR remote to enter numbers is a great idea!
Martin
Using IR remote to enter numbers is a great idea!
Martin
Martin