metaru_nanbu
Newbie level 4
- Joined
- Apr 14, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,328
Hey everyone !
===========
I'm using the ProGFX library with Atmel ATMEGA32 chip on Proteus simulator to make a simple test...
But it Gives me the warning : LOGIC contention detected , and it gives me a corrupted output on the LCD...what am i doing wrong ?
The code is supposed to fill the whole LCD black.
=========
Please help.
Attached an image of the simulation for the "LCD filling code" and the "drawing x and y axes code"
with HEX file.
Here's my CODE.
View attachment PROTEUS MODEL.rar
View attachment HEX FILE.rar
===========
I'm using the ProGFX library with Atmel ATMEGA32 chip on Proteus simulator to make a simple test...
But it Gives me the warning : LOGIC contention detected , and it gives me a corrupted output on the LCD...what am i doing wrong ?
The code is supposed to fill the whole LCD black.
=========
Please help.
Attached an image of the simulation for the "LCD filling code" and the "drawing x and y axes code"
with HEX file.
Here's my CODE.
Code:
#include <gfx.h>
#include <font.h>
#include <fonts/arial12.h>
#include <math.h>
int main()
{
DDRC = 0xFF;
GFXInit();
GFXSetFont(Arial12);
GFXFillRect(0,0,127,63,GFX_COLOR_BLACK);
GFXUpdate();
}
View attachment PROTEUS MODEL.rar
View attachment HEX FILE.rar
Attachments
Last edited: