Hi Mike,

Good to hear from you! It has been a while since we were on the pjal
beta test list...

The libraries are not part of the official release yet, since they are
about 80% complete (code complete and some basic testing done; there
some asm nop statments, which must be replaced with a delay) It would
be nice to receive your improvements, either by email if this is a
one-time contribution or by svn if you join us in the maintenace and
extension of jallib.

As for the hardware connection: this is probably not properly
documented but if you need it, i can check my test board...

Joep



2010/1/22 m...@watty <[email protected]>:
> I downloaded these yesterday (today I will figure out SVN) and found a
> bug
> Old Code in WritePixel:
>
>  if onoff == 1 then
> -- bit_set(data, y%8) -- Turn the pixel on
> yy = y % 8
> data = data | ( 1 << yy )
> else -- or
> -- bit_clear(data, y%8) -- turn the pixel off
> yy = y % 8
> data = data | !( 1 << yy )
> end if
>
>
> New Code
>
> if onoff == 1 then
> -- bit_set(data, y%8) -- Turn the pixel on
> yy = y % 8
> data = data | ( 1 << yy )
> else -- or
> -- bit_clear(data, y%8) -- turn the pixel off
> yy = y % 8
> data = data & !( 1 << yy )
> end if
>
> You see if you clearing a bit (white ink) you AND and if you set a bit
> (black ink) you OR
>
> I have made some other changes too
> Added arbitrary line drawing and circle, both take "ink" colour.
> I think also the RESET pin can be simply tied to VDD to free a pin,
> and CS1, CS2 extended to CS3 &CS4 to drive two panels in parallel
> giving a logical 64 x 256 area to plot on. I can buy these 128x64
> cheaper than 2x16 text and was thinking of one for menus/GUI and the
> other for waveform display for test gear..
>
> Animated demo program:
> --
> lcd_init()
> lcd_box(0,0,127,63)
>
> lcd_line(2,2,31,15,1)
> lcd_line(96,15,125,2,1)
> lcd_line(2,61,31,48,1)
> lcd_line(96,48,125,61,1)
> lcd_setcursor(2,10)
> print_string(lcd,str1)
> lcd_setcursor(4,9)
> print_string(lcd, str2)
> lcd_circle(64,31, 30, 0)
>
> --
> forever loop
>   led = on
>   _usec_delay(100000)
>   lcd_line(96,15,125,2,0)
>   _usec_delay(100000)
>   lcd_line(2,2,31,15,0)
>   _usec_delay(100000)
>   lcd_line(2,61,31,48,0)
>   _usec_delay(100000)
>   lcd_line(96,48,125,61,0)
>   lcd_circle(64,31, 30, 0)
>   lcd_circle(64,25, 24, 1)
>   led = off
>   _usec_delay(100000)
>   lcd_line(96,48,125,61,1)
>   _usec_delay(100000)
>   lcd_line(2,61,31,48,1)
>   _usec_delay(100000)
>   lcd_line(2,2,31,15,1)
>   _usec_delay(100000)
>   lcd_line(96,15,125,2,1)
>   lcd_circle(64,25, 24, 0)
>   lcd_circle(64,31, 30, 1)
> end loop
>
> my new site http://www.wattystuff.net/ I had security problem with old
> Wiki that had PIC info. Some of the old links will bring up new pages
> though.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/jallib?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to