| View previous topic :: View next topic |
| Author |
Message |
TED_DUTRA
Joined: 18 Nov 2025 Posts: 1
|
| HELP PIC10f220 |
Posted: Tue Nov 18, 2025 7:11 am |
|
|
Hello friends, I'm new to PIC microcontrollers, and I'm trying to create a very simple firmware where I would use GP0 and GP3 as inputs and GP1 and GP2 as outputs. That is, activating the GP0 input turns off the GP2 output and turns on the GP1 output, and activating the GP3 input turns off the GP1 output, waits 3 seconds, and turns on the GP2 output. It seems I'm not configuring the fuses correctly because GP0 works as expected, but GP2 and GP3 don't.
Could someone help me? Thank you.
Sorry for my English, translated by Google Translate. |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9596 Location: Greensville,Ontario
|
|
Posted: Tue Nov 18, 2025 7:40 am |
|
|
Please post your program ! That way we can better help you.
You may need to disable the ADC. |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19987
|
|
Posted: Wed Nov 19, 2025 1:55 am |
|
|
As Jay says, you need to show what you are doing. On GP3, the 'obvious'
possibility is that you are omitting NOMCLR in the fuses. Since by default
this pin is the MCLR input.
GP2, would depend on how you have the timer configured, or how the chip
is being programmed.
We need some data, to really help. |
|
 |
|