Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 30th March 2005, 02:41 PM   #1
Default Keyscanning Routine Problem with Freescale Motorola HCS08.

i have problem with keyscanning routine with this evaluation board. http://www.freescale.com/files/abstr....htm?tid=tmhfp

i created my own keyscanning routine with the PORTA 0-5 as inputs and output on PORTC 0-3 thus creating a 6X4 keypad. i enabled the pull ups of part A in the software and turned off the watchdog timer, but it seems that when i dont press a key yet, it seems that Row 1 and Column 1 (PA.0 and PC.0 ) are pressed (i used the 4 leds supplied in the demo kit to know if im doing right.). anyboady experienced the same problem?

btw, it is a very good MCU. maybe it will take time for me to tame this beast. ops:
__________________
Learning is a life-long process...
GraveYard_Killer is offline  
Reply

Tags
freescale, hcs08, keyscanning, motorola, problem, routine

Thread Tools
Display Modes




All times are GMT. The time now is 10:43 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker