Please see the previous posts on this thread. You either have the wrong baudrate, or your PICs internal oscillator is out of spec and you need to recompile using an xtal or resonator.
Please see the previous posts on this thread. You either have the wrong baudrate, or your PICs internal oscillator is out of spec and you need to recompile using an xtal or resonator.
I use the baudrate provided in the source code "300 baud, 8 Data Bits, No Parity, 1 stop Bit, No Flow Control".
The problem is i get errors while compiling your code, i use version 2.1.3 of Proton+.
Regards,Code:Error at Line [112] In file [COLOK.BAS] *** Value Expected! *** Error at Line [165] In file [COLOK.BAS] *** Variable or Value is Missing! *** Error at Line [170] In file [COLOK.BAS] *** Square opening bracket '[' missing! *** Error at Line [183] In file [COLOK.BAS] *** Square opening bracket '[' missing! *** Error at Line [211] In file [COLOK.BAS] *** Syntax error! *** Error at Line [247] In file [COLOK.BAS] *** Syntax error! *** Error at Line [250] In file [COLOK.BAS] *** Misplaced or Incorrect 'ENDIF'. Also check its corresponding IF Command! ***
David
Last edited by D-Work; - 24th October 2005 at 04:53.
Weird error message if you'd copy/paste the Melanie's code...Be sure you use MELABS compiler.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
My examples are NOT written for Proton but for MeLabs PBP and are posted on this forum and on MeLabs website. The code works perfectly when used with compiler it was intended for.
Bookmarks