CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 3 matches
CCS Forum Index
Author Message
  Topic: 3x4 Matrix mobile like keypad
springwheel

Replies: 6
Views: 12882

PostForum: General CCS C Discussion   Posted: Thu Apr 13, 2017 3:25 pm   Subject: 3x4 Matrix mobile like keypad
I am having some hard time implementing the short timer.
How do I reset the timer ?
Could someone help me ?

I am trying to use a flag.

int8 i;
int1 flag;

#int_timer0
void timer0() ...
  Topic: 3x4 Matrix mobile like keypad
springwheel

Replies: 6
Views: 12882

PostForum: General CCS C Discussion   Posted: Wed Apr 12, 2017 8:17 pm   Subject: 3x4 Matrix mobile like keypad
Quick code...

Once you press a key, you start a short timer.. if you don't press that key again within the 'timeout' period, you'll get the 'first' press key code( A) in your example.
If you press ...
  Topic: 3x4 Matrix mobile like keypad
springwheel

Replies: 6
Views: 12882

PostForum: General CCS C Discussion   Posted: Wed Apr 12, 2017 4:28 pm   Subject: 3x4 Matrix mobile like keypad
Hi, I'm having some difficulties trying to develop a code to a mobile like keypad.

It should work like old mobile phones.
If you press the number 2 3x is should print the letter C.

I'm using th ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group