Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by James Child

  1. 01

    01

  2. String album = "Me"

    String album = "Me"

  3. J

    PIC Microcontrollers: Scan inputs on a 4x4 Keypad, using only Port C RC0-RC3 in C

    Thank you- I finally understand! My University example was totally throwing me off, as they had Initialized both rows on PORTC throughout. It finally works- albiet, a bit buggy, but I think that's something to do with needing to debounce. Anyway, here's my code (this is called in a main...
  4. J

    PIC Microcontrollers: Scan inputs on a 4x4 Keypad, using only Port C RC0-RC3 in C

    Ok, so I'm still aboslutely stumped! I've had a go at coding something from what's been discussed, however, it's not working. Let me show you my thought process! First of, my (what is essentially a 2x2 keypad) scanning method is to return a BYTE representation of the key pressed, which is...
  5. J

    PIC Microcontrollers: Scan inputs on a 4x4 Keypad, using only Port C RC0-RC3 in C

    I did start with Defining TRISC = 0x3; and PORTC = 0xC;, then in the "readkeypad()" method that would return the lowest nibble on PORTC, defined as simply as return PORTC & TRISC; .This has allowed me to stay within my restrictions and use RC2 and RC3 as outputs (please correct me if I'm wrong...
  6. J

    PIC Microcontrollers: Scan inputs on a 4x4 Keypad, using only Port C RC0-RC3 in C

    I'm new to PIC Microcontrollers & C programming and I've been set the task of creating my own Keypad scanning method that works exclusively on Port C (16F877A Microcontroller). Specifically, the program that uses this method only uses digits 1, 2, 4 and 5- so to be efficient, the scanner method...

Part and Inventory Search

Back
Top