Hi,
The issue is the logic of deciding when your key is pressed and also when it is released.
So in your C, as well as detecting when the key is pressed you also need to then wait until it is released before resuming the loop.
Here is one way of doing that ...
while(1) {
if (ip ==1) {
lcd.locate ...
Search found 2 matches
- Fri Dec 08, 2017 2:23 am
- Forum: C and ASM Programming
- Topic: Increment value and display in C
- Replies: 2
- Views: 16734
- Thu Dec 07, 2017 10:01 am
- Forum: C and ASM Programming
- Topic: Increment value and display in C
- Replies: 2
- Views: 16734
Increment value and display in C
Hi to all, want to ask some advice to me.As my primary thing with electronics is hardware, I am having some difficulties learning programming. Unfortunately, my college where I study offers no such course because my major is language, but I'm interested in programming. so for my project this year I ...