Problems with constants

General discussion on mikroBasic.
Post Reply
Author
Message
ralf
Posts: 13
Joined: 30 Aug 2004 17:17

Problems with constants

#1 Post by ralf » 21 Nov 2004 23:23

This is my Problem with constants. Any idea ?

program bugreport

const LCD_D7 = 7

'main procedure
main:

'This Line works not !
lcd8_config(PORTA,PORTD,1,0,2,LCD_D7,6,5,4,3,2,1,0)

'This line works fine !
lcd8_config(PORTA,PORTD,1,0,2,7,6,5,4,3,2,1,0)


lcd8_cmd(lcd_turn_on) 'LCD einschalten
lcd8_cmd(lcd_cursor_off) 'LCD-Cursor ausschalten

lcd8_out(1,1,"Hello Mikroelektronika")

end.

User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

Re: Problems with constants

#2 Post by rajkovic » 09 Jan 2005 11:46

ralf wrote:This is my Problem with constants. Any idea ?

program bugreport
Thank you for bug report, we will test it. And when bug is removed we will post info.

Post Reply

Return to “mikroBasic General”