Hi again i use this code : include 18f4520 pragma target clock 8_000_000 -- Fosc pragma target OSC hs pragma target LVP disabled -- -- GRAPHIC_LCD IO definition ------------------------ var byte GLCD_DATAPRT is portD var byte GLCD_DATAPRT_DIR is portD_direction
alias GLCD_CS1 is pin_b0 alias GLCD_CS2 is pin_b1 alias GLCD_RST is pin_b2 alias GLCD_RW is pin_c1 alias GLCD_E is pin_b3 alias GLCD_DI is pin_b4 -- alias GLCD_CS1_DIRECTION is pin_b0_direction alias GLCD_CS2_DIRECTION is pin_b1_direction alias GLCD_RST_DIRECTION is pin_b2_direction alias GLCD_RW_DIRECTION is pin_c1_direction alias GLCD_E_DIRECTION is pin_b3_direction alias GLCD_DI_DIRECTION is pin_b4_direction const GLCD_CLIPPING = TRUE -- enable clipping (of ellipse) enable_digital_io() -- all pins digital I/O include delay include math include print include glcd_5x7_font include glcd_6x8_font include glcd_font -- common font stuff glcd_font_use(FONT_5X7) -- activate font include glcd_ks0108 -- glcd device dependent library include glcd_common -- device independent glcd library glcd_init() -- initialize display --------------------------- glcd_clear_screen() var word n = 0 var byte i = 40 -- -- glcd_box(0,0,127,63) -- -- forever loop end loop ---------------------- glcd_box(0,0,127,63) this is code doesn't work?? but if i change that to glcd_box(0,0,127,55) < this works correctly ? can somebody help me ?? -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/b05ea9ea-8601-44f3-b3b3-d315da0df328n%40googlegroups.com.
