Forum: Mikrocontroller und Digitale Elektronik Control a Display with I2C in MCC


von Niklas K. (niklaskoch)


Lesenswert?

Hello,



I am currently programming a dispaly with a PIC16F1827(MCC). The display 
has 4 lines and 20 columns 
(https://asset.conrad.com/media10/add/160267/c1/-/en/002238796DS00/datenblatt-2238796-display-elektronik-lcd-display-weiss-20-x-4-pixel-b-x-h-x-t-98-x-60-x-116-mm-dem20486fgh-pw.pdf). 
For the beginning I would like to output a letter or a word but I have 
no idea how to do that in MCC.



I would be very happy if someone can help me, because I need this 
information for a school project.



Thank you

von Stefan F. (Gast)


Lesenswert?

This display seems to be compatible to HD44780. Search for that number.

von Niklas K. (niklaskoch)


Lesenswert?

Sorry I forgot to mention that I use the PCF8574T - bus.

von Stefan F. (Gast)


Lesenswert?

Ypu will also find lots of code example for HD55780 displays via PC8574. 
This is a very common use case in the Arduino world.

von Niklas K. (niklaskoch)


Lesenswert?

The problem is, that I use a PIC16F1827 and not an Arduino.

von Klaus (Gast)


Lesenswert?

Which programming language and
which compiler are you used ?

von Stefan F. (Gast)


Lesenswert?

Niklas K. schrieb:
> The problem is, that I use a PIC16F1827 and not an Arduino.

Are you not able port a few lines of C code to another microcontroller?

Anyway: I am pretty sure that you can find examples as well for a PIC 
microcontroller. This is common hardware - really.

von Wolfgang (Gast)


Lesenswert?

Niklas K. schrieb:
> The problem is, that I use a PIC16F1827 and not an Arduino.

Of course you should use i2c routines fitting the PIC.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.