Author |
Message |
Topic: PIC 16f628a RS232 mystery |
Nazgulzeh
Replies: 6
Views: 11102
|
Forum: General CCS C Discussion Posted: Wed Nov 24, 2010 12:21 pm Subject: PIC 16f628a RS232 mystery |
Well I changed the fuse HS to XT, and I tried to invert but I receive this msg:
Executing: "C:\Program Files (x86)\PICC\Ccsc.exe" +FM "led.c" +DF +LN +T +A +M +Z +Y=9 +EA
*** Err ... |
Topic: PIC 16f628a RS232 mystery |
Nazgulzeh
Replies: 6
Views: 11102
|
Forum: General CCS C Discussion Posted: Mon Nov 22, 2010 12:32 pm Subject: PIC 16f628a RS232 mystery |
Check this out:
#include <16f628A.h>
#fuses HS,NOPROTECT,NOMCLR
#use delay (clock=4000000)
#use rs232(baud=9600,parity=N,xmit=PIN_B2,rcv=PIN_B1,bits=8)
void main ... |
Topic: PIC 16f628a RS232 mystery |
Nazgulzeh
Replies: 6
Views: 11102
|
Forum: General CCS C Discussion Posted: Mon Nov 22, 2010 12:06 pm Subject: PIC 16f628a RS232 mystery |
Hey all!
This is my first topic here =P
Well, I'm trying to send and receive data to a PIC 16f628a, however it is not working fine. Look this code:
#include <16f628A.h>
#fuses HS, ... |
|