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

BASCOM-AVR : Solved Mikromedia for AtmegaM1280 module : REPLY

$
0
0
:) Ok, based on the library "SSD1963_functions.inc" I compared the actual code of the "Lcd_text() routine". I have made the changes for my LCD. Now the font "Font25x32.font" is working, but prints upsidedown on the display. I compared line by line and found a difference at this point: Modified working code(working now but upside down chars): [code:1:7fee0e5aca] For Zeichen_row = 7 To 0 Step -1 For Px = 1 To Char_row_len Ptemp2 = Ptemp + Px If Zeichenarray(ptemp2).zeichen_row = 1 Then 'Call Ssd1963_16data(forecolor) Tft_16bit_dataport_lo = Low(forecolor) Tft_16bit_dataport_hi = High(forecolor) nop Tft_16bit_wr = 0 nop Tft_16bit_wr = 1 Else ' Call Ssd1963_16data(backcolor) Tft_16bit_dataport_lo = Low(backcolor) Tft_16bit_dataport_hi = High(backcolor) nop Tft_16bit_wr = 0 nop Tft_16bit_wr = 1 End If Next Px Next Zeichen_row[/code:1:7fee0e5aca] In my previous test (where 8x8 and 12x16 worked) I have as [code:1:7fee0e5aca] For Zeichen_row = 0 To 7 [/code:1:7fee0e5aca] instead of [code:1:7fee0e5aca] For Zeichen_row = 7 To 0 Step -1 [/code:1:7fee0e5aca] but if I change it, again have garbage at output.

Viewing all articles
Browse latest Browse all 20563

Trending Articles



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