Timeline for PIC programming - Get value of multiple buttons to a port
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2014 at 19:50 | vote | accept | user3669754 | ||
| May 23, 2014 at 19:39 | answer | added | David | timeline score: 4 | |
| May 23, 2014 at 19:21 | history | tweeted | twitter.com/#!/StackElectronix/status/469920990450159616 | ||
| May 23, 2014 at 19:20 | comment | added | user3669754 | Adam, it's just normal push button, Proteus allow me to keep it pressed or unpressed during simulation, so yes, it is low when pressed and high when not pressed, I use those states to create value, to read from | |
| May 23, 2014 at 19:16 | comment | added | Adam Head | what kind of buttons do you have? According to the schematic, the inputs to the processor will get pulled ~LOW~ when the button is closed (pressed?). | |
| May 23, 2014 at 19:05 | comment | added | Dzarda | You're right, break is unnecessary here. | |
| May 23, 2014 at 19:03 | answer | added | Handoko | timeline score: 4 | |
| May 23, 2014 at 18:46 | comment | added | user3669754 | thank you for advice, but still not work, besides, due the return instruction, i don't think a break is neccessary | |
| May 23, 2014 at 18:25 | comment | added | Peter Bennett | For one thing, in the switch() statement, you need a break; at the end of each case. | |
| May 23, 2014 at 18:20 | review | First posts | |||
| May 23, 2014 at 18:30 | |||||
| May 23, 2014 at 18:03 | history | asked | user3669754 | CC BY-SA 3.0 |