i have finished my code and tried to have a simulation on protues 7.4 sp3 ... i have a 16*2 LCD standard LCD ... how i can i connect it to the microcontroller ... i have connected the LCD to port B at ATMEGA8585 and i have connected it as follows:
PortB.0-->Data1
PortB.1-->Data2
PortB.2-->Data3
PortB.3-->Data4
PortB.4-->RS
PortB.5-->Enaple
MY LCD is: Hitachi ...
and i want to ask about where to connect the RW pin ... and if it's necessary to connect Data0 or not .... and if i can use any standard LCD or it must be a specific LCD of flowcode to use with ... thx and best regards
How to hard wire the LCD...i have just finished my code...
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to hard wire the LCD...i have just finished my code...
Hello
You probably have to wire up your LCD like this.
PortB.0-->Data4
PortB.1-->Data5
PortB.2-->Data6
PortB.3-->Data7
PortB.4-->RS
PortB.5-->Enable
RW pin tied to Ground.
Hope this helps.
You probably have to wire up your LCD like this.
PortB.0-->Data4
PortB.1-->Data5
PortB.2-->Data6
PortB.3-->Data7
PortB.4-->RS
PortB.5-->Enable
RW pin tied to Ground.
Hope this helps.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: How to hard wire the LCD...i have just finished my code...
thx master .. every thing works perfectly