Page 1 of 1
user input
Posted: Wed Mar 11, 2015 1:03 am
by ziggy1976
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?
Re: user input
Posted: Wed Mar 11, 2015 11:02 am
by medelec35
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.
Re: user input
Posted: Wed Mar 11, 2015 1:40 pm
by ziggy1976
Thank you

Re: user input
Posted: Wed Mar 11, 2015 11:17 pm
by medelec35
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
Re: user input
Posted: Mon Mar 16, 2015 10:30 am
by ziggy1976
Thanks guys makes a lot of difference getting some expert guidance. Accelerated learning!!
Please feel free to provide insight into developing the ADC block.