Search found 75 matches

by TonyR
Sat Nov 22, 2014 5:52 am
Forum: Modules
Topic: GLCD Double Image
Replies: 4
Views: 4268

Re: GLCD Double Image

Thanks BitforGav, it was the CS lines. All good now.
by TonyR
Wed Sep 24, 2014 5:16 am
Forum: Modules
Topic: GLCD X axis offset by 64
Replies: 2
Views: 2852

Re: GLCD X axis offset by 64

Thanks for reply. Its fixed. One of the #options was a total bungle. A #option was wrong (CS2 output on wrong CPU pin). Because it was declared on the wrong port the CS2 input on the LCD was floating and working sometimes other times not..... giving the appearance to me that changing the code was do...
by TonyR
Tue Sep 23, 2014 9:25 pm
Forum: Modules
Topic: GLCD X axis offset by 64
Replies: 2
Views: 2852

GLCD X axis offset by 64

Sorry to bore anyone with this, but I'm an electronics engineer and software is frightening and not my strong point ! I think I simplified the bug to its smallest size. Using GLCD library and KS0108 (actually its an S6B0108 newer version) the X axis is offset 64 pixels to the right. The program belo...
by TonyR
Tue Sep 23, 2014 8:49 pm
Forum: Modules
Topic: GLCD Double Image
Replies: 4
Views: 4268

Re: GLCD Double Image

[img]
<img src="c:\lcd.jpg" alt="Hello on LCD" style="width:350px;height:250px">
[/img]
by TonyR
Tue Sep 23, 2014 8:44 pm
Forum: Modules
Topic: GLCD Double Image
Replies: 4
Views: 4268

Re: GLCD Double Image

Further to my bug causing the GLCD to show two "hellos"

I checked the CS1 and CS2 lines, they are fine

Is the Library calculating 2 x 64 pixel wide screens instead of 1 x 128 pixel widescreen? Suggestions welcome

Here is what it looks like
[img]
"c:\hello on lcd.jpg"
[/img]
by TonyR
Tue Sep 23, 2014 9:49 am
Forum: Modules
Topic: GLCD Double Image
Replies: 4
Views: 4268

GLCD Double Image

Hi All, Ive got the GLCD library going nicely except with one bug. The screen of the display (KS0801 controller) seems to be divided in half, probably due to CS1 CS2 operation. If I try to place text or a graphic such as a box on the screen it thinks that the X compoent of 0,0 is mid screen. Y works...
by TonyR
Mon Sep 08, 2014 9:47 pm
Forum: Modules
Topic: GLCD Module - where to find FontLarge.bas ?
Replies: 3
Views: 3188

Re: GLCD Module - where to find FontLarge.bas ?

Thanks very much Bitforgav
by TonyR
Mon Sep 08, 2014 9:46 pm
Forum: Modules
Topic: Touch module wont compile for KS0108 GLCD but should ?
Replies: 3
Views: 3029

Re: Touch module wont compile for KS0108 GLCD but should ?

Thanks very much Jerry
by TonyR
Sun Sep 07, 2014 2:30 am
Forum: Modules
Topic: GLCD Module - where to find FontLarge.bas ?
Replies: 3
Views: 3188

Re: GLCD Module - where to find FontLarge.bas ?

I think I figured out this one, if someone with wisdom and experience could confirm In the SF GLCD example there is a line: include "Verdana.bas" // font library By substituting Verdana.bas for FontLarge.bas the program compiles with no errors. I guess this means there are some different fonts avail...
by TonyR
Sun Sep 07, 2014 2:23 am
Forum: Modules
Topic: Touch module wont compile for KS0108 GLCD but should ?
Replies: 3
Views: 3029

Re: Touch module wont compile for KS0108 GLCD but should ?

I think I figured this out, if someone with wisdom and experience would confirm. Stevens draw.bas and keyboard.bas are calling GLCD functions which wont work if LCD specified is KS0108 because KS0108 cant do them. ie. Colour. So the GLCD functions available change depending on display specified with...
by TonyR
Sun Sep 07, 2014 12:20 am
Forum: Modules
Topic: Touch module wont compile for KS0108 GLCD but should ?
Replies: 3
Views: 3029

Touch module wont compile for KS0108 GLCD but should ?

Hi All, Another question, hopefully to save me reverse engineering through tons of lines of code to work out what should happen .... I am trying to use Steven Wrights nice sample touch screen programs and David's GLCD from the SF website. If I compile drawing.bas, exactly as it is on the SF website ...
by TonyR
Sat Sep 06, 2014 9:40 pm
Forum: Modules
Topic: GLCD Module - where to find FontLarge.bas ?
Replies: 3
Views: 3188

GLCD Module - where to find FontLarge.bas ?

Hi All,

I bought some S1D13700 GLCDs and want to try out the GLCD and Touch Screen modules but the sample program keyboard.bas needs FontLarge.bas.

Can anyone email me this file or point me in the direction of what is is and/or how to build it ?

Thanks very much,

Tony R.
by TonyR
Sat Aug 09, 2014 2:06 am
Forum: Compiler
Topic: Can't read RTCC registers in 18F87J93 ?
Replies: 7
Views: 2896

Re: Can't read RTCC registers in 18F87J93 ?

It works, thanks heaps Nathan, so you can say your libraries mostly tested with 18F87J93. Interestingly I got an ASM error the first time I compiled it - the assembler seems to have tried to assemble your comments // LOCK and // UNLOCK in the assembler part of the library. When I commented them out ...
by TonyR
Fri Aug 08, 2014 10:06 pm
Forum: Compiler
Topic: Can't read RTCC registers in 18F87J93 ?
Replies: 7
Views: 2896

Re: Can't read RTCC registers in 18F87J93 ?

Ok forget that one too ... again, it is!

Will try your library today and let you know how it goes, thanks Nathan,
by TonyR
Fri Aug 08, 2014 7:52 pm
Forum: Compiler
Topic: Can't read RTCC registers in 18F87J93 ?
Replies: 7
Views: 2896

Re: Can't read RTCC registers in 18F87J93 ?

Thanks so much for advice bitfogav and Nathan.

It's 5.30am here, I got up early because I was going to go through your program Nathan line by line to find what I was doing wrong! One wonders why microchip wouldn't mention the unlock in the Rtcc section of the datasheet!