t6963c

General discussion on mikroBasic for AVR.
Post Reply
Author
Message
newMan
Posts: 5
Joined: 12 Aug 2008 20:54

t6963c

#1 Post by newMan » 12 Aug 2008 21:06

Hello to all!!!

my program is_

program glcd_t6963
include "T6963Clib"
main:
DDRC = 255

T6963C_init(240, 128, 8, PORTB, PORTC, 2, 1, 0, 4)

T6963C_graphics(1)
T6963C_displayGrPanel(0)
delay_ms(100)
T6963C_line(150, 95, 160, 95, T6963C_WHITE)
delay_ms(1000)
T6963C_line(150, 95, 160, 95, T6963C_BLACK)
delay_ms(1000)
end.

Can anybody tell me why the line is NOT disappeared after the T6963C_line(150, 95, 160, 95, T6963C_BLACK) ???????????? :evil:

if I change the program code on_

program glcd_t6963
include "T6963Clib"
main:
DDRC = 255

T6963C_init(240, 128, 8, PORTB, PORTC, 2, 1, 0, 4)

T6963C_graphics(1)
T6963C_displayGrPanel(0)
delay_ms(100)
T6963C_line(150, 95, 160, 95, T6963C_BLACK)
delay_ms(1000)
end.

then my GLCD show this line :evil: :evil: :evil: - is this a bug? or I am stupid

Hardware - EASY AVR5
ATMEGA16 on 8MHz ext. oscillator
GLCD 240x128 by mikroe
Software - mikroBasic for AVR ver. 4.0.0.2 (or 4.0.2 may be) - the latest ver. on the site www. mikroe.com

newMan
Posts: 5
Joined: 12 Aug 2008 20:54

#2 Post by newMan » 14 Aug 2008 11:24

up!

Post Reply

Return to “mikroBasic for AVR General”