Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C Screen display support #16

Open
couin3 opened this issue Apr 10, 2020 · 4 comments
Open

I2C Screen display support #16

couin3 opened this issue Apr 10, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@couin3
Copy link
Owner

couin3 commented Apr 10, 2020

Will show latest received radio / error message.
Default antenna pin may change as I2C SCL/SDA are D1/D2 pins on D1 mini board.

@couin3 couin3 added the enhancement New feature or request label Apr 10, 2020
@couin3 couin3 added this to the v2.0 milestone Apr 10, 2020
@couin3 couin3 self-assigned this Apr 10, 2020
@couin3 couin3 pinned this issue Apr 10, 2020
@couin3 couin3 changed the title Add an I2C Screen display support I2C Screen display support Apr 10, 2020
@zoomx
Copy link

zoomx commented Apr 10, 2020

I believe that on ESP8266 you can change SCL/SDA pins since it is a software I2C.
Wire.begin(int sda, int scl)

@couin3
Copy link
Owner Author

couin3 commented Apr 10, 2020

I'd prefer not to change default pin, in order to use D1 mini shield (for instance https://fr.aliexpress.com/item/32801063529.html)

@zoomx
Copy link

zoomx commented Apr 10, 2020

I have the same shield so.... better to change antenna pin!

@couin3
Copy link
Owner Author

couin3 commented Apr 14, 2020

This is a v1.0 "hidden" feature.
I'm using U8x8 lib, with 8x8 pixels characters.
This is working on my 128x64 display (=> 16x8 char).
64x48 (8x6 char) D1 mini shield will be truncated.

Code is by default desactivated.
To make it work, you had to :

  • Uncomment u8g2 line in platformio.ini
  • Uncomment #define OLED_Enabled in RFLink.h
  • Uncomment #include <U8x8lib.h> in 8_OLED.cpp

OLED SSD1306 has to be connected like this:

  • GND <-> GND
  • VCC <-> 3v3
  • SCK <-> D1
  • SDA <-> D2

@couin3 couin3 modified the milestones: v2.0, v1.0 Apr 16, 2020
@couin3 couin3 modified the milestones: v1.0, v8.0 Major Core changes Feb 4, 2021
@couin3 couin3 unpinned this issue Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants