Author |
Message |
Topic: VDrive2 via UART |
paolope
Replies: 7
Views: 16774
|
Forum: General CCS C Discussion Posted: Mon Feb 20, 2012 4:09 am Subject: VDrive2 via UART |
I became crazy with this unit (VNC2), but then I discovered:
1) no puts()! because adds 0x0a and this damn unit accepts the command, interprests a second one and answers Bad command (or uses 0x0a a ... |
Topic: software rs232 |
paolope
Replies: 7
Views: 9076
|
Forum: General CCS C Discussion Posted: Fri Feb 17, 2012 2:21 am Subject: software rs232 |
Unfortunately I had the "nice" idea to migrate from a 18f2523 to a 18f26k80 on an existing PCB, with "just a couple of wires".
So, as usual, I got extra sw and extra hassle.
pa ... |
Topic: 18f26k80 oscillator |
paolope
Replies: 4
Views: 6499
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2012 10:43 am Subject: 18f26k80 oscillator |
Mr Murphy states that 'things left alone go from bad to worse'...
in effect NOIESO crashes the debugger-ICDU64 which is then not able to control the PIC, so nothing new happens |
Topic: 18f26k80 oscillator |
paolope
Replies: 4
Views: 6499
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2012 8:40 am Subject: 18f26k80 oscillator |
Here is adc.h:
#include <18f26k80.h>
#device icd=true
#device *=16
#device adc=16
#FUSES SOSC_DIG,HSM,PUT// PC0 PC1 I/O,MEDIUM PWR OSC
#use delay(crystal=6.144M)
nothing else |
Topic: software rs232 |
paolope
Replies: 7
Views: 9076
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2012 3:46 am Subject: software rs232 |
hello,
I chose pic18f26k80 for its 2xUART, but the second shares the pins with ICDU64 so I think to use a sw rs232.
The question is
running it at say 9600, is it interruptable?
paolo |
Topic: 18f26k80 oscillator |
paolope
Replies: 4
Views: 6499
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2012 3:42 am Subject: 18f26k80 oscillator |
hello,
whatever I do, the chip runs at about 7.97Mhz (internal RC)
I tried with #use delay (crystal=6.144M)
I tried with #fuses HSM or even HSH.
Any idea?
I feel very stupid and frustrated. ... |
Topic: Avionic SW |
paolope
Replies: 1
Views: 2510
|
Forum: General CCS C Discussion Posted: Fri May 29, 2009 6:49 am Subject: Avionic SW |
Hello!
I was asked to design an avionic display (general aviation) for values such as cabin temperature.
Is there any chance to use successfully a PIC with CCS C? has anybody done that?
Paolo |
|