Author |
Message |
Topic: IMU Sensor Stick 9DOF with PIC16F877A |
SpaceXDebris
Replies: 11
Views: 16041
|
Forum: 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
|
Forum: 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
|
Forum: 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, ... |
|