EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / Dear Alex , the keypad

Dear Alex , the keypad

|

Microcontroller › PIC › what is wrong with my code , i wanna save the pressed key from Keypad to an array › Dear Alex , the keypad

May 6, 2014 at 8:17 am #11689
medo
Participant

Dear Alex , 

the keypad 4×4 

 

 

count from 7 its Ascii value is 1 

button 4 …ascii value 2

button 1 …ascii value 3

button on/c …ascii value 4

button 8 …ascii value 5

button 5…ascii value 6

button 2 …ascii value 7

 

button 0 …ascii value 8

 

button 9 …ascii value 9

 

button 6 …ascii value 10

 

button 3 …ascii value 11

 

button = …ascii value 12

 

button % …ascii value 13

 

button x…ascii value 14

 

button – …ascii value 15

 

button + …ascii value 16

 

for show the number to screen i convert to ascii by adding 48 

or using 

inttostr function

 

 

after i press 4 button , 

then later the lcd show the number 4000

 

i dont know whats up

 

thanks for u help

 
 
 
 
 

 

RSS Recent Posts

  • WTB: "The Theory Of Servicing AM, FM, And FM Receivers" by Clarence R. Green and Robert M. Bourque November 10, 2025
  • Anyone In The US Ordered From AliExpress Recently? November 10, 2025
  • Calculation of A Class amplifier November 10, 2025
  • strange laptop problem November 10, 2025
  • restarting this Christmas project November 10, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise