Author |
Message |
Topic: 12F675 RS232 software problem |
maritto
Replies: 12
Views: 20004
|
Forum: General CCS C Discussion Posted: Thu Nov 22, 2007 4:08 pm Subject: 12F675 RS232 software problem |
It's working!!!!
I'm really sorry, the voltage was wrong!
And the max 232, was sending garbage!
Now it works!
THANKS A LOT for you help!
Also I learned a lot about RS232 in my research to solve t ... |
Topic: 12F675 RS232 software problem |
maritto
Replies: 12
Views: 20004
|
Forum: General CCS C Discussion Posted: Thu Nov 22, 2007 10:56 am Subject: 12F675 RS232 software problem |
Yes! I'm using a max232, and the circuit, also the interface (serial cable and circuit), is tested, I succesfuly used it with a Pic16F877, probably there is an error with the software terminal, I'll t ... |
Topic: 12F675 RS232 software problem |
maritto
Replies: 12
Views: 20004
|
Forum: General CCS C Discussion Posted: Wed Nov 21, 2007 11:21 am Subject: 12F675 RS232 software problem |
OK! I've been working a lot! I'm traying to install Linux jejeje.
I tried tha pice of code, but it continues sending garbage!
I don't know why!
I need to send:
"temp;temp_ref;delay"
... |
Topic: 12F675 RS232 software problem |
maritto
Replies: 12
Views: 20004
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 9:37 pm Subject: 12F675 RS232 software problem |
Thanks, then I'll try this, lets see if it works! |
Topic: 12F675 RS232 software problem |
maritto
Replies: 12
Views: 20004
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 4:28 pm Subject: 12F675 RS232 software problem |
when I simule it in proteus, it works perfectly!, but, when I connect the circuit to the Serial Com1, I just send garbage.
The baud rate, is exactly the same (the programmed, and the spected).
Using ... |
Topic: 12F675 RS232 software problem |
maritto
Replies: 12
Views: 20004
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 2:58 pm Subject: 12F675 RS232 software problem |
I'm tring to send information using RS232 Software.
The problem is that when I send information, I get garbage!
I'm using a 12f675 with internal osc at 4MHz.
I just read the topic about this same i ... |
Topic: Math operation |
maritto
Replies: 7
Views: 6364
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 8:27 am Subject: Math operation |
OK!
Thanks a lot!
It is working! |
Topic: Math operation |
maritto
Replies: 7
Views: 6364
|
Forum: General CCS C Discussion Posted: Sun Nov 18, 2007 10:36 pm Subject: Math operation |
OK, the problem is that when I try to send a value between 10 and 30, the program sends 3F 3F.....> 63 63, I don't know why! I'm using Proteus to simulate it!
Thanks! |
Topic: Math operation |
maritto
Replies: 7
Views: 6364
|
Forum: General CCS C Discussion Posted: Sun Nov 18, 2007 10:23 pm Subject: Math operation |
By the way, I always get 63 when the value is between 10 and 30 (the value of rom_p0 and rom_p1)
|
Topic: Math operation |
maritto
Replies: 7
Views: 6364
|
Forum: General CCS C Discussion Posted: Sun Nov 18, 2007 10:06 pm Subject: Math operation |
OK, thanks!
When I use 10L, the program size is reduced, I don't know why!
But the problem persists when I use values above 30.0 (30 and 0).
When I read the EEPROM, and send that values trought the ... |
Topic: Math operation |
maritto
Replies: 7
Views: 6364
|
Forum: General CCS C Discussion Posted: Sun Nov 18, 2007 11:14 am Subject: Math operation |
Hi!
I've got a problem, I'm working with 12F series and I need to use a lot of variables.
In order to store temperature values like 25.5 (just with a decimal), an integer with a decimal, I use a &qu ... |
|