Random
New Member
I have a bunch of these PIC's I'm programming for video game controllers. Problem is, I don't want to have to solder a lot of extra resistors onto the PCB, and the datasheet says there's a pullup option for the bottom (RB) half of the I/O pins. How does the microcontroller recognize a float? I need it to work in reverse logic - a button press will ground that pin. If there's a way to do this in the software, I'd be one happy camper.
And regarding TTL - since my inputs will be coming from physical switches, I need a way to debounce them. All the inputs on the RA half have Schmitt triggers on them, which is what I'd want, but they don't have that pull-up that'd save me a lot of work. They do, however, have "TTL" on them - will that debounce the switch? I'm generally familiar with what TTL is and does, but I'm not sure how it'll work in this case.
Any help would be most appreciated. Thank you!
And regarding TTL - since my inputs will be coming from physical switches, I need a way to debounce them. All the inputs on the RA half have Schmitt triggers on them, which is what I'd want, but they don't have that pull-up that'd save me a lot of work. They do, however, have "TTL" on them - will that debounce the switch? I'm generally familiar with what TTL is and does, but I'm not sure how it'll work in this case.
Any help would be most appreciated. Thank you!