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 3 matches
CCS Forum Index
Author Message
  Topic: Reading port latch in ccs
behrouz2007

Replies: 12
Views: 17970

PostForum: General CCS C Discussion   Posted: Mon Sep 29, 2008 12:55 pm   Subject: Reading port latch in ccs
...I define PORTB as a Byte like this:
#Byte TRISB=86
#Byte PORTB=6
TRISB=0;
PORTB=0X78;
But when i allocate a value to PORTB ,the value did not change because of current bank value. So i must ch ...
  Topic: Reading port latch in ccs
behrouz2007

Replies: 12
Views: 17970

PostForum: General CCS C Discussion   Posted: Mon Sep 29, 2008 3:17 am   Subject: Reading port latch in ccs
This thread shows how to read a latch register.
http://www.ccsinfo.com/forum/viewtopic.php?t=36161

This thread has pre-made header files with register addresses:
http://www.ccsinfo.com/forum/view ...
  Topic: Reading port latch in ccs
behrouz2007

Replies: 12
Views: 17970

PostForum: General CCS C Discussion   Posted: Sun Sep 28, 2008 4:37 pm   Subject: Reading port latch in ccs
I previously used MicroC, but because of no command line (no possiblity for use it with MPLAB and ISIS) I decided to use CCS, so I am a beginner in using CCS. Please help me how I can write herein id ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group