CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

HELP PIC10f220

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
TED_DUTRA



Joined: 18 Nov 2025
Posts: 1

View user's profile Send private message

HELP PIC10f220
PostPosted: Tue Nov 18, 2025 7:11 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Nov 18, 2025 7:40 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 19, 2025 1:55 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group