Search found 211 matches

by CharlieM
Sat Dec 13, 2008 2:31 pm
Forum: Compiler
Topic: OW example
Replies: 20
Views: 9273

Thanks Jason.
by CharlieM
Sat Dec 13, 2008 1:12 pm
Forum: Compiler
Topic: OW example
Replies: 20
Views: 9273

OW example

Hi everyone,

Does anyone have a workiing OW example? I tried the one in the examples folder,but it won't display anything.
by CharlieM
Thu Dec 11, 2008 11:23 pm
Forum: Compiler
Topic: DS18S20
Replies: 4
Views: 2979

Thaks for the replys.

David,

That was taken from the OW example.Does the Temp. sensor used have anyting to do with wether the var is a word or a byte? Also is there anything else I need to do to initialize the temp sensor? I am not getting anything on my display.
by CharlieM
Thu Dec 11, 2008 12:29 pm
Forum: Compiler
Topic: DS18S20
Replies: 4
Views: 2979

Hi folks, Her is the problem code.Any ideas? DEVICE = 18F452 CLOCK = 20 DIM TempA AS SHORTINT, TempB AS WORD INCLUDE "DS18s20.bas" INCLUDE "convert.bas" INCLUDE "Graphics.bas" INCLUDE "GLCD.bas" INCLUDE "ArialB24Font.bas" INCLUDE "Bitmaps.bas" SetFont(ArialB24) Font.Style = fsNormal TextAlign = taCe...
by CharlieM
Wed Dec 10, 2008 1:49 am
Forum: Compiler
Topic: DS18S20
Replies: 4
Views: 2979

DS18S20

Hi Everyone,

Why is it that when using the DS18S20 Modual This Line of code
"GetTemp(TempA, TempB)" generates a "Too many parameters" error message? Also I tried the OW example that is supposed to display the temp on the serial terminal,but its does nothing.Thanks for the help.
by CharlieM
Mon Dec 08, 2008 1:58 am
Forum: Compiler
Topic: Using Custom fonts
Replies: 3
Views: 2340

Thanks Rene,

Here is the font header could there be a problem here?

Code: Select all

MODULE 7_segmentFont



#ifndef GLCD_XFONT // scan along y
PUBLIC CONST 7_Segment(708) AS BYTE =
[quote][/quote]
by CharlieM
Mon Dec 08, 2008 12:33 am
Forum: Compiler
Topic: Using Custom fonts
Replies: 3
Views: 2340

Using Custom fonts

Hi everyone, So Far Learning this is Sloooow.I want to use a custome font.here is my code: DEVICE = 18F452 CLOCK = 8 INCLUDE "KS0108.bas" INCLUDE "Graphics.bas" INCLUDE "GLCD.bas" INCLUDE "7_Segment.bas" INCLUDE "Bitmaps.bas" SetFont(7_Segment) <<<<<<<<<<<< is highlighted Font.Style = fsNormal TextA...
by CharlieM
Sun Dec 07, 2008 4:13 pm
Forum: Compiler
Topic: end expected error
Replies: 5
Views: 2911

Thanks Rene,

Its going to take some time getting used to this.
by CharlieM
Sun Dec 07, 2008 3:56 pm
Forum: Compiler
Topic: end expected error
Replies: 5
Views: 2911

Code: Select all

DEVICE = 18f452
CLOCK = 8
 INCLUDE "utils.bas"
 SetAllDigital
 TRISB = 0
  DIM i AS BYTE 
  
  
  Main:
    FOR i = 0 TO 254
     
     PORTB = i
      DELAYMS (100)
      NEXT i
    GOTO main
by CharlieM
Sun Dec 07, 2008 2:48 pm
Forum: Compiler
Topic: end expected error
Replies: 5
Views: 2911

end expected error

Hi everyone,

Decided to get SF out again.I get this error message"End expected" and the line of code it points to is "Dim i as byte".
Any ideas? Thanks.

Charlie
by CharlieM
Sun Feb 17, 2008 4:42 pm
Forum: Compiler
Topic: Mixing digital and analog inputs
Replies: 4
Views: 3015

What pic are you using?
by CharlieM
Thu Oct 11, 2007 1:16 pm
Forum: Modules
Topic: Where to save modules?
Replies: 3
Views: 2768

Thanks Guys. :D
by CharlieM
Thu Oct 11, 2007 2:17 am
Forum: Modules
Topic: Where to save modules?
Replies: 3
Views: 2768

Where to save modules?

Hi everyone,
I have been trying to make a few of my own modules,but keep getting can't find or can't open module.I have sort of read through the help,but don't seem to see anything related to where the compiler looks for the modules. I have it saved in the projects directory.
by CharlieM
Wed Oct 10, 2007 9:57 pm
Forum: Compiler
Topic: Stepper Motor Module
Replies: 3
Views: 3742

Thanks for sharing! one question though should I change

Code: Select all

 TempBuff = (_Stepper_Port  And %11110000) Or %00001001       
           
to

Code: Select all

TempBuff = _Stepper_TRIS And %11110000                   
?? IT works like a charm thanks a lot. :D
by CharlieM
Wed Oct 10, 2007 12:32 am
Forum: Compiler
Topic: LCDWrite Problems
Replies: 1
Views: 1892

Nevermind.Its seems to be working now. :shock: