OLED W click - library - write text

General discussion on mikroElektronika development boards.
Post Reply
Author
Message
AlainR
Posts: 6
Joined: 13 Nov 2018 12:00

OLED W click - library - write text

#1 Post by AlainR » 26 Nov 2020 16:07

Hello

I have a question about the library for this driver OLED. Actually I have the library from Mikroe "OLED_W_P18" and I can display a picture, it's OK.

But now I want write text. Exemple I want write a temperature from a sensor. Do you have a other library ? Or other solution for write text ?

PS: I use the P18F87K22

Thank you for your helping and best regards, :wink:
Alain
:D :wink:

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: OLED W click - library - write text

#2 Post by filip.grujcic » 27 Nov 2020 14:49

Hello,

This is the only library that we have for OLED W Click board.
I have attached the source code of it, in case you wish to alter some functions or add new ones.

Kind regards,
Attachments
OLED_W_Click-master-SW.zip
(8.08 MiB) Downloaded 58 times
Filip Grujcic

hexreader
Posts: 1786
Joined: 27 Jun 2010 12:07
Location: England

Re: OLED W click - library - write text

#3 Post by hexreader » 27 Nov 2020 15:42

I too thought that OLED B Click (presumably same as W Click, just different colour) would be far more useful for text display.

Attached is some poor, but working code for EasyPIC PRO v7 mikroBUS socket 2.

Be sure to select 3.3V power.
Attachments
OLEDbClickText.zip
(79.14 KiB) Downloaded 59 times
Start every day with a smile...... (get it over with) :)

AlainR
Posts: 6
Joined: 13 Nov 2018 12:00

Re: OLED W click - library - write text

#4 Post by AlainR » 23 Feb 2021 10:12

Thank you for the reply and sorry for my late response.

I'll try this library :wink:

Best regards
Alain
:D :wink:

AlainR
Posts: 6
Joined: 13 Nov 2018 12:00

Re: OLED W click - library - write text

#5 Post by AlainR » 05 Mar 2021 17:15

Hello

I tried your library for OLED B Click and it's work. Just the char 1 is upside down :lol:

Thank you and best regards :D
Alain
:D :wink:

hexreader
Posts: 1786
Joined: 27 Jun 2010 12:07
Location: England

Re: OLED W click - library - write text

#6 Post by hexreader » 05 Mar 2021 17:53

char 1 is upside down
So it is...

I converted pixel pattern to bytes by hand, so errors were inevitable. May be others.

Corrected project attached.
Attachments
OLEDbClickText.zip
(79.91 KiB) Downloaded 46 times
Start every day with a smile...... (get it over with) :)

Post Reply

Return to “Development Boards”