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

Search found 5 matches
CCS Forum Index
Author Message
  Topic: Reading PORTC problem
ctest

Replies: 7
Views: 9509

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2023 2:38 pm   Subject: Reading PORTC problem
Ttelmah thanks, problem solved. On this way:
I set addresses UCFG and UCON
#word UCFG = 0X0F6F;
#WORD UCON=0X0F6D;



#include <main9.h>
#fuses INTRC_IO, NOWDT, BROWNOUT, PUT,NOPROTECT, ...
  Topic: Reading PORTC problem
ctest

Replies: 7
Views: 9509

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2023 1:40 pm   Subject: Reading PORTC problem
Sorry, on vUSB is 3 V.
  Topic: Reading PORTC problem
ctest

Replies: 7
Views: 9509

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2023 10:05 am   Subject: Reading PORTC problem
Thank you,
I am using CCS c compiler version 5.109. Vusb is not connected.
  Topic: Reading PORTC problem
ctest

Replies: 7
Views: 9509

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2023 8:16 am   Subject: Reading PORTC problem
Thank you,
I am using 18f4550 microcontroller and pic CCS c compiler. I have the same devices connected to pin C5 and to pin C4. The first optocoupler H11AA1x is connected to C4, and the second optoc ...
  Topic: Reading PORTC problem
ctest

Replies: 7
Views: 9509

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2023 6:13 am   Subject: Reading PORTC problem
I have simple hardware as in the picture. I wrote the software for it. The LED is always lit regardless of the button. Port c5 always reads low state. What could be the problem?


#fuses INTRC_IO, ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group