Author |
Message |
Topic: Drive some stepper with rs 232 possible ? |
hollajo
Replies: 2
Views: 2949
|
Forum: General CCS C Discussion Posted: Tue Jul 13, 2010 3:28 am Subject: Drive some stepper with rs 232 possible ? |
thx for our answer.
It's more complicated that I was thinking.
I'm going to try something with PWM. |
Topic: Drive some stepper with rs 232 possible ? |
hollajo
Replies: 2
Views: 2949
|
Forum: General CCS C Discussion Posted: Tue Jul 13, 2010 1:42 am Subject: Drive some stepper with rs 232 possible ? |
Hi everybody
I would like to ask some question about rs 232 again ...
very simple because i think i have the answer.
I would to drive a stepper and i was asking if it's possible to drive t ... |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 3:09 am Subject: looking for a simple rs232 thing |
it work's for hello World.
So now it's a little more complicated.
do you think that is possible to send a frame for example this king of message
0b0111100001
0 to start the com
1 for the ... |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 3:02 am Subject: looking for a simple rs232 thing |
thx for your help i can see the A on my computer screen so if I want send a char series is it better to use printf ('Hello World!!!');
or i must use the pointer with board ? |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 2:40 am Subject: looking for a simple rs232 thing |
I was testing A0 just to know if my micro was working
Ok so i just test my soft with one char and if it work i think that i can use the serial comm. |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 1:34 am Subject: looking for a simple rs232 thing |
I use this configuration on MPLAB :
Osc XT (8Mhz) external
WDT OFF
Power up timer OFF
Brown out detect OFF
Low vltage program Enable
Fl ... |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 8:29 am Subject: looking for a simple rs232 thing |
thx I'm going to try tonight and I will reply tomorrow in the morning (french hour ). |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 7:51 am Subject: looking for a simple rs232 thing |
thx so i made the test and the computer reply i still don't know why Hello World don't work.
do you think that is better to write putc into a loop
for example
#define...
....
...
void ... |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 6:29 am Subject: looking for a simple rs232 thing |
Easy way to check which is XMT is to put a meter on the pins to GND. Outputs will always show voltage, inputs hang around 0V.
I put my metter between pin 3 and 5 and i have -10V is it normal ? ... |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 5:21 am Subject: looking for a simple rs232 thing |
ok i change my wire and i delete the init routine, the fuse is set with the MPLAB in the configuration bits setting
thx for u help |
Topic: looking for a simple rs232 thing |
hollajo
Replies: 15
Views: 10062
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 3:17 am Subject: looking for a simple rs232 thing |
Hi every body
Still using my pic18f870 after my problem with ICSP. Now I have another one.
I'd like to write a very simple code to send just the famous HelloWorld on my computer screen via hyper ... |
Topic: How can i send data via rs232 ? |
hollajo
Replies: 2
Views: 3935
|
Forum: General CCS C Discussion Posted: Tue Jun 22, 2010 5:16 am Subject: How can i send data via rs232 ? |
Thanks for your help. I understand a little more how work the data transmission and is not easy that much So I'm going to study the PIC datasheet with the CCS datasheet. |
Topic: How can i send data via rs232 ? |
hollajo
Replies: 2
Views: 3935
|
Forum: General CCS C Discussion Posted: Mon Jun 21, 2010 6:43 am Subject: How can i send data via rs232 ? |
Hi everybody
I'm new with CCs and i would like to know how work the sending via the rs232 com.
I use PIC16f870
I just wrote this
#use (delay=4000000)
#use rs232(baud=300, xmit=PIN_C6, rcv=PIN ... |
|