Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : Boxfill : NEWTOPIC

$
0
0
Hi All, Can anybody that has a 128x 64 SED type Graphic LCD attached to a micro confirm that the Boxfill is is working with this following code. On my display, it draws the first line in the correct place, the rest are offset to the [b:eedba5a0bf]right [/b:eedba5a0bf]by 5 pixels. If the setfont is used, then the boxfill shifts the lines, the setfont is rem'd out, then Boxfill works correctly. Regards Dean [code:1:eedba5a0bf] $regfile = "m32def.dat" $crystal = 16000000 $hwstack = 20 $swstack = 60 $framesize = 20 $timeout = 10000 Baud = 38400 $lib "glcdKS108.LBX" '' ===[ Setup LCD Display ]====================================================== Config Graphlcd = 128 * 64sed , Dataport = Portc , Controlport = Portb , Ce1 = 0 , Ce2 = 1 , Cd = 2 , Rd = 3 , Reset = 4 , Enable = 5 , Mode = 6 Config Portc = Output Config Portb = Output 'For the incomming serial. Enable Interrupts Setfont Font8x8 Cls Boxfill(0 , 31) -(127 , 44) , 1 Do Loop $include "font8x8.font" [/code:1:eedba5a0bf] [/code] [b:eedba5a0bf][color=red:eedba5a0bf](BASCOM-AVR version : 2.0.7.7 , Latest : 2.0.7.6 )[/b:eedba5a0bf][/color:eedba5a0bf]

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>