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 2 matches
CCS Forum Index
Author Message
  Topic: PIC18F1320: TX goes low when setting B-port output
thb2

Replies: 1
Views: 3266

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2010 2:12 pm   Subject: PIC18F1320: TX goes low when setting B-port output
OK, I replaced the

#bit PINB3 = 0xF81.3 //PIC18F1220, PIN_B3
PINB3=1;

with

output_high(PIN_B3);

and it works. Output_high is translated to

BCF F93.3 (TRISB)
BSF F8A.3 (LATB)
...
  Topic: PIC18F1320: TX goes low when setting B-port output
thb2

Replies: 1
Views: 3266

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2010 2:02 pm   Subject: PIC18F1320: TX goes low when setting B-port output
Hi,

I'm using the following code on a 18F1320. After reset the TX pin is high. Then the "Startup...." is send and TX toggles a few times and then goes high again for 200 ms.
Then as soo ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group