View previous topic :: View next topic |
Author |
Message |
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Mon Mar 28, 2011 6:07 pm Post subject: LIB for Epson S1D13700 |
|
|
Is there any chance to get a LIB for the Epson S1D13700 Displaycontroller, with more than 255 Pixels?
mfg
SB |
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Fri Apr 01, 2011 11:50 pm Post subject: |
|
|
push |
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Fri Apr 29, 2011 4:46 pm Post subject: |
|
|
push again |
|
Back to top |
|
|
MAK3
Joined: 24 Sep 2010 Posts: 449 Location: Germany
|
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Sat Apr 30, 2011 2:14 pm Post subject: |
|
|
Hi,
yes it's the same
thx |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sat Apr 30, 2011 10:27 pm Post subject: |
|
|
I attached a lib for sed1330 and ra8535.
you need to config like this:
Config Graphlcd = 320 * 240sed1330 , Dataport = Portb , Controlport = Portd , Reset = 3 , Rd = 5 , Wr = 6 , Cs = 2 , A0 = 4 , Osc = 10000000
one warning: these libs are not ready, they work for cls, setting pixels but font/image might not work. that is the reason why they are not included in the bascom version : they need a bit of work/testing.
Maybe someone want to finish it, or test what will not work. _________________ Mark |
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Mon May 02, 2011 8:36 pm Post subject: |
|
|
Thank you, for that
mfg
sBronco |
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Thu Jun 09, 2011 7:08 pm Post subject: |
|
|
wont work
Used this:
Quote: | Config Graphlcd = 320 * 240sed1330 , Dataport = Portb , Controlport = PortC , Reset = 4 , Rd = 0 , Wr = 1 , Cs = 3 , A0 = 2 , Mode = 8 , Osc = 10000000 |
that are the error codes:
Quote: | Error : 222 Line : 148 Illegal character [expected (, got ')' [LBYTE(_GLCD_LOOP)]] , in File : D:\AVR Projects\Juni2011 HLLS XMEGA\09.06.2011 XM V1 .bas
Error : 222 Line : 148 Illegal character [expected (, got ')' [HBYTE(_GLCD_LOOP)]] , in File : D:\AVR Projects\Juni2011 HLLS XMEGA\09.06.2011 XM V1 .bas
Error : 222 Line : 148 Illegal character [expected (, got ')' [LBYTE(_TLCD_LOOP)]] , in File : D:\AVR Projects\Juni2011 HLLS XMEGA\09.06.2011 XM V1 .bas
Error : 222 Line : 148 Illegal character [expected (, got ')' [HBYTE(_TLCD_LOOP)]] , in File : D:\AVR Projects\Juni2011 HLLS XMEGA\09.06.2011 XM V1 .bas |
|
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Jun 09, 2011 7:27 pm Post subject: |
|
|
you probably use a graphic function from the default glcd.
you need to make a very small sample that demonstrates the problem.
maybe cls causes this. _________________ Mark |
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Thu Jun 09, 2011 9:38 pm Post subject: |
|
|
the complete code:
Quote: | $regfile = "xm192A3def.dat"
$crystal = 32000000 '32MHz
$hwstack = 128
$swstack = 80
$framesize = 80
$lib "xmega.lib"
$external _xmegafix_clear
$external _xmegafix_rol_r1014
Config Osc = Enabled , Pllosc = Disabled , Extosc = Disabled , 32khzosc = Disabled , 32mhzosc = Enabled
Config Sysclock = 32mhz , Prescalea = 1 , Prescalebc = 1_1
Config Priority = Static , Vector = Application , Lo = Enabled
Config Eeprom = Mapped
Config Graphlcd = 320 * 240sed1330 , Dataport = Portb , Controlport = PortC , Reset = 4 , Rd = 0 , Wr = 1 , Cs = 3 , A0 = 2 , Mode = 8 , Osc = 10000000
Dim a as byte
Config portc.6 = output
Config portd.5 = Output
Config portd.6 = Output
Set portc.6
Set portD.5
Do
Toggle Portd.5
waitms 500
Loop
End | [/quote] |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Jun 09, 2011 10:07 pm Post subject: |
|
|
you have to add this code :
$lib "glcd-sed1330.lib"
Const Lcd_x_size = 320
Const Lcd_y_size = 240 _________________ Mark |
|
Back to top |
|
|
s_Bronco@gmx.de
Joined: 23 Sep 2010 Posts: 12
|
Posted: Fri Jun 10, 2011 10:29 pm Post subject: |
|
|
thank you, now it works. |
|
Back to top |
|
|
aokpilot
Joined: 18 Oct 2011 Posts: 2
|
Posted: Tue Oct 18, 2011 10:10 pm Post subject: |
|
|
pls can someone tell me were to find the
glcd-sed1330.lib
in my Folder "LIB" is only glcdSED.lib
many Thanks
André |
|
Back to top |
|
|
aokpilot
Joined: 18 Oct 2011 Posts: 2
|
Posted: Wed Oct 19, 2011 11:59 am Post subject: |
|
|
Many Thanks,
now i´ve the Lib.
in my test file i got an error:
error :5 Line:65 No more space for BIT [__LCDROW] ......
please who can help me? |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 19, 2011 1:03 pm Post subject: |
|
|
the problem is that the lib has no routine for showing the fonts.
The routine : _gwrite_lcdchar: is missing.
And that is the reason this lib is not in the normal distribution.
The pixel code is working so you can use Evert Dekkers font drawing code. (bascom source vault)
Or maybe someone can add the code? basicly you need the font drawing code from glcdKS108.lib
But it need to be adjusted most likely. _________________ Mark |
|
Back to top |
|
|
|