Search found 211 matches
- Sat Dec 13, 2008 2:31 pm
- Forum: Compiler
- Topic: OW example
- Replies: 20
- Views: 9273
- 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.
Does anyone have a workiing OW example? I tried the one in the examples folder,but it won't display anything.
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...
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.
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.
- 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?
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]
- 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...
- Sun Dec 07, 2008 4:13 pm
- Forum: Compiler
- Topic: end expected error
- Replies: 5
- Views: 2911
- 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
- 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
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
- Sun Feb 17, 2008 4:42 pm
- Forum: Compiler
- Topic: Mixing digital and analog inputs
- Replies: 4
- Views: 3015
- Thu Oct 11, 2007 1:16 pm
- Forum: Modules
- Topic: Where to save modules?
- Replies: 3
- Views: 2768
- 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.
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.
- 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
to
?? IT works like a charm thanks a lot.
Code: Select all
TempBuff = (_Stepper_Port And %11110000) Or %00001001
Code: Select all
TempBuff = _Stepper_TRIS And %11110000
- Wed Oct 10, 2007 12:32 am
- Forum: Compiler
- Topic: LCDWrite Problems
- Replies: 1
- Views: 1892