rgboled and i2c works not together

Xadow series products.

Moderators: lily.li, violet, jessie, nosk

Post Reply
92421
Pre-kindergarten
Pre-kindergarten
Posts: 23
Joined: Fri Jul 10, 2015 11:32 pm

rgboled and i2c works not together

Post by 92421 » Fri Oct 16, 2015 7:09 pm

hello
i do not understand
why i2c and rgboled works not together
after i call
Wire.begin()
i can not make any output on rgboled
had anybody an idea

greetings

------------------------------
// Reference the I2C Library
#include <Wire.h>

#include <SGL.h>
#include <SSD1331.h>
#include <SPI.h>

#define cs A5
#define dc 3
#define mosi 16
#define sclk 15

SSD1331 oled = SSD1331(cs, dc, mosi, sclk);

void setup()
{
oled.init();
oled.fillScreen(COLOR_YELLOW);
delay(1000);

//here is the problem
//when call wire.begin rgboled does not work
//when not rgboled work correct but i2c not
Wire.begin(); // Start the I2C interface.

oled.fillScreen(COLOR_BLACK);
delay(1000);
}

// Our main program loop.
void loop()
{
}

92421
Pre-kindergarten
Pre-kindergarten
Posts: 23
Joined: Fri Jul 10, 2015 11:32 pm

Re: rgboled and i2c works not together

Post by 92421 » Sun Oct 18, 2015 5:22 pm


92421
Pre-kindergarten
Pre-kindergarten
Posts: 23
Joined: Fri Jul 10, 2015 11:32 pm

Re: rgboled and i2c works not together

Post by 92421 » Sun Oct 18, 2015 5:35 pm

is it now fixed ?

User avatar
avoid
Pre-kindergarten
Pre-kindergarten
Posts: 12
Joined: Mon Apr 06, 2015 5:42 pm

Re: rgboled and i2c works not together

Post by avoid » Mon Oct 19, 2015 4:10 am

nein, bisher gibt es hierzu noch keine offizielle Lösung.
wenn ich dafür zeit finde, werde ich versuchen die Library um zu schreiben.
ich will versuchen "Xadow - RGB OLED Display (ISP)" über das "Xadow - Breakout" mit einem "I/O-Expander" zu betreiben.

hierzu habe ich schon diese Vorarbeit geleistet.
http://www.seeedstudio.com/forum/viewto ... =43&t=5970

leider fehlt mir die zeit weiter zu machen.
gruß,
Avoid

-----------------------------------

No, so far there is still no official solution for this purpose.
if I find the time, I'll try to edit the Library.
I want to try "Xadow - RGB OLED display (ISP)" on the "Xadow - Breakout" to operate with a "I/O Expander".

For this I have already done this groundwork.
http://www.seeedstudio.com/forum/viewto ... =43&t=5970

Unfortunately, I lack the time to carry on.
greeting,
avoid
Good questions are like a science experiment. They put a lot of knowledge ahead already.
bitcoin:1J5dgQQp8eUy8wkUxyztBUVCkCpo5MQEQs?label=Thanks

Post Reply