Hi friends!
Excuse my ingles
Why glcd not work in proteus?
for example the fill(0) not work in proteus
Any idea how to do this work in proteus?
Note: the glcd work in other compiler fine
thanks
proteus and glcd (128x64)?
Hi
arcon not work for me
check this example:
http://rapidshare.de/files/41333275/GLCD.rar.html
The comand glcd_fill(0) not work
Thanks
arcon not work for me
check this example:
http://rapidshare.de/files/41333275/GLCD.rar.html
The comand glcd_fill(0) not work
Thanks
It looks to be a problem in Proteus since it works OK on a dev board.
Now I remember why I don't have such problems!
I use (an excellent!) xGLCD library by janni and I clear the screen with a blank bitmap (in packed format). It's available for PIC18 only which is OK since PIC16 MCUs have "problems" with memory paging.
Now I remember why I don't have such problems!
I use (an excellent!) xGLCD library by janni and I clear the screen with a blank bitmap (in packed format). It's available for PIC18 only which is OK since PIC16 MCUs have "problems" with memory paging.
-
- Posts: 4
- Joined: 07 Dec 2010 21:42
Re: proteus and glcd (128x64)?
Hi! I have the same problem. When im using Proteus and the command GLCD_Fill(), it only fills every second line. Then i right-click over the GLCD in Proteus, and opened the properties. There changed the Initial value of ram to 0x00 and this time all line were cleared. But there is another problem. At the place, where two line join, one small 1px line remains and it can be filled or done anything - just stays there. Where could be the problem - in Proteus or in MikroC. I dont love any other compilers, so dont want to try with them. Down there is the picture of what happens when i try to use font bigger than 8px. Does anyone has any idea how to fix it? Here is the code i use:
Code: Select all
#include "xglcd_lib.c"
#include "propfont.h"
char GLCD_DataPort at PORTD;
sbit GLCD_CS1 at RB0_bit;
sbit GLCD_CS2 at RB1_bit;
sbit GLCD_RS at RB2_bit;
sbit GLCD_RW at RB3_bit;
sbit GLCD_EN at RB4_bit;
sbit GLCD_RST at RB5_bit;
sbit GLCD_CS1_Direction at TRISB0_bit;
sbit GLCD_CS2_Direction at TRISB1_bit;
sbit GLCD_RS_Direction at TRISB2_bit;
sbit GLCD_RW_Direction at TRISB3_bit;
sbit GLCD_EN_Direction at TRISB4_bit;
sbit GLCD_RST_Direction at TRISB5_bit;
void main() {
char *someText;
Glcd_Init(); // Init for EasyPIC3 board
Glcd_Fill(0x00);
//Glcd_Set_Page(1);
//Selects a X-GLCD proportional BIG font
xGlcd_Set_Font(Broadway17x15, 17,15,32);
someText = "GERILIM";
xGlcd_Write_Text(someText,1,1,xColorSet);
delay_ms(1000);
Glcd_Circle(64,32,20,1);
while(1)
{}
}
- Attachments
-
- This happens when i use Font Creator and the font is bigger than 8px
- Untitled-1 (800 x 450).jpg (100.33 KiB) Viewed 6300 times