Author |
Message |
Topic: PIC18f14K22 and uart problems |
hexfet13
Replies: 5
Views: 11016
|
Forum: General CCS C Discussion Posted: Tue Aug 16, 2011 7:17 am Subject: PIC18f14K22 and uart problems |
Yes, you are perfectly right, my compiler version does not support at 100% this micro.
Thanks for helping me |
Topic: PIC18f14K22 and uart problems |
hexfet13
Replies: 5
Views: 11016
|
Forum: General CCS C Discussion Posted: Sun Aug 14, 2011 3:54 am Subject: PIC18f14K22 and uart problems |
I tried this simple code:
#INCLUDE <18f14k22.h>
#fuses NOWDT, NOMCLR, INTRC
#use delay(clock=1000000)
void main(){
setup_oscillator(OSC_INTRC|OSC_1MHZ);
... |
Topic: PIC18f14K22 and uart problems |
hexfet13
Replies: 5
Views: 11016
|
Forum: General CCS C Discussion Posted: Sun Aug 14, 2011 2:20 am Subject: PIC18f14K22 and uart problems |
Thanks for your reply.
My compiler version is 4.093.
At this time the problem is not solved yet; i don't understand what's wrong. |
Topic: PIC18f14K22 and uart problems |
hexfet13
Replies: 5
Views: 11016
|
Forum: General CCS C Discussion Posted: Fri Aug 12, 2011 9:28 am Subject: PIC18f14K22 and uart problems |
Hi,
I'm trying to test this simple debug program to do an echo function on the serial port:
#INCLUDE <18f14k22.h>
#FUSES NOMCLR,INTRC,NOWDT
#USE DELAY(CLOCK=1000000)
#USE RS232 ... |
Topic: floating point problems with pic24F |
hexfet13
Replies: 3
Views: 4206
|
Forum: General CCS C Discussion Posted: Sun Aug 30, 2009 6:07 am Subject: floating point problems with pic24F |
Thanks for your reply but there's a chance to set the appropriate floating point format in the "value" column in watch window? (sprintf works fine but is uncomfortable to use it) |
Topic: floating point problems with pic24F |
hexfet13
Replies: 3
Views: 4206
|
Forum: General CCS C Discussion Posted: Sat Aug 29, 2009 4:49 pm Subject: floating point problems with pic24F |
Hi,
I need to write a simple code with some float variable on a PIC24F but just with a simple assignment in mplab sim appears some strange values.
For example this code ....
#include <24FJ16GA ... |
Topic: PIC18f2550 and rs232 garbage |
hexfet13
Replies: 2
Views: 4271
|
Forum: General CCS C Discussion Posted: Sun Jul 05, 2009 4:19 am Subject: PIC18f2550 and rs232 garbage |
Thanks for reply.
I've solved the problem: the guilty was a spike upon Vcc caused by max3232.The amplitude of it was over 1.5V and the result was a dead pic that work at irregular intervals.
Thanks ... |
Topic: PIC18f2550 and rs232 garbage |
hexfet13
Replies: 2
Views: 4271
|
Forum: General CCS C Discussion Posted: Fri Jul 03, 2009 10:33 am Subject: PIC18f2550 and rs232 garbage |
Hi, I'm trying to work with rs232 on pic18f2550 but with a simple test program in my hyperterminal I see only garbage . Originally, I need to implement a simple rs232 protocol to transfer a data strea ... |
|