Hello all,
I want to develop a program that requires a user to input a value such as the weight of an object. How do I set this up so that a range of 0-250Kg can be input before the program starts to take readings from a sensor and makes calculations. Is there an example available please?
user input
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: user input
Hi ziggy1976,
This Keypad & LCD flowchart would be a good starting point.
You can modify iy to suit your needs.
If you get stuck after modifying, you can always post your flowchart for us to give you further assistance.
Martin.
This Keypad & LCD flowchart would be a good starting point.
You can modify iy to suit your needs.
If you get stuck after modifying, you can always post your flowchart for us to give you further assistance.
Martin.
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: user input
Your welcome.
Next is looking at ADC examples then putting it all together with calculation boxes so calculate results and send to LCD.
Or even have gLCD to make fonts bigger and background more colorful
But it's better to treat as building blocks and learn one block at a time.
Always start with a flasher to make sure microcontroller is running at the correct speed as this will prevent unnecessary hair pulling.
Martin
Next is looking at ADC examples then putting it all together with calculation boxes so calculate results and send to LCD.
Or even have gLCD to make fonts bigger and background more colorful
But it's better to treat as building blocks and learn one block at a time.
Always start with a flasher to make sure microcontroller is running at the correct speed as this will prevent unnecessary hair pulling.
Martin
Martin
Re: user input
Thanks guys makes a lot of difference getting some expert guidance. Accelerated learning!!
Please feel free to provide insight into developing the ADC block.
Please feel free to provide insight into developing the ADC block.