Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

ATX-Mega and LCD 16x2

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
smatjaz

Bascom Member



Joined: 28 Jun 2004
Posts: 62

slovenia.gif
PostPosted: Fri Mar 27, 2015 2:27 pm    Post subject: ATX-Mega and LCD 16x2 Reply with quote

Hello.

In my program I use commands for LCD 16x2 (HD44780) and ATXMEGA128A3U as usual:

Code:
Config Lcd = 16x2

Config Lcdpin = Pin , Rs = Portd.4 , E = Portd.5 , Db4 = Portd.6 , Db5 = Portd.7 , Db6 = Portc.0 , Db7 = Portc.1
Config Lcdbus = 4
Cursor Off Noblink
Cls
 


but compiler returns error:
Code:
Error : 215   Line :   1     Unknown ASM mnemonic [op]  , in File : E:\$Elektro\Test-2.bas


When I use Bascom Version 2.0.7.7 it works fine.

I replaced the command and it was also not successful.

Code:
Config Lcd = 16x2 , Chipset = Ks077


Can you tell me someone what I'm doing wrong?

Best regards, Matjaz.

(BASCOM-AVR version : 2.0.7.8 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 4970
Location: Holland

blank.gif
PostPosted: Fri Mar 27, 2015 9:03 pm    Post subject: Reply with quote

nothing wrong with your code. i advise to download the full setup and install it over the existing version. possibly some file did not update properly at the update.
_________________
Mark
Back to top
View user's profile Visit poster's website
smatjaz

Bascom Member



Joined: 28 Jun 2004
Posts: 62

slovenia.gif
PostPosted: Sun Mar 29, 2015 11:52 am    Post subject: Reply with quote

Thank You Mark.

It works now OK.

Best Regards, M.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum