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: IMU Sensor Stick 9DOF with PIC16F877A
SpaceXDebris

Replies: 11
Views: 16041

PostForum: General CCS C Discussion   Posted: Wed Mar 21, 2012 5:17 pm   Subject: IMU Sensor Stick 9DOF with PIC16F877A
I got some numbers from the accel.

The sticking point was forgetting the "force_hw" flag. Without it, I was seeing 0xFF for all the data, which is a problem I've seen noticed mentioned se ...
  Topic: How to check if RS232 Stream is defined
SpaceXDebris

Replies: 1
Views: 4092

PostForum: General CCS C Discussion   Posted: Thu Mar 25, 2010 1:52 pm   Subject: How to check if RS232 Stream is defined
Hey there,

This is possible:


#define FOO 1
#ifdef FOO
//Code
#endif


I'm trying to do the something similar with rs232 streams. Ideally:

#use rs232(... STREAM=COM_A)
#use rs ...
  Topic: Passing rs232 stream id into a function PCD
SpaceXDebris

Replies: 3
Views: 7559

PostForum: General CCS C Discussion   Posted: Tue Dec 15, 2009 7:38 pm   Subject: Passing rs232 stream id into a function PCD
Hey,

Sorry if this is a dumb question. I'm using PCD compiler with a dsPIC30F4011.

As in the manual, I'm using two rs232 ports by doing:


#use rs232(baud=57600, xmit=PIN_F5, rcv=PIN_F4, ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group