I am not sure this is a bug or something I do wrong. I added an SSD1306 to my circuit, but I am unable to output anything on it.
I am using simulide 0.5.15RC4, compiled from source on a Debian Linux workstation. This has support for SSD1306, and comes with an example.
The example is an Arduino Uno, the SSD1306 and 2 pullup resistors, quite straightforward. There is also an Oscope in the circuit to look at the signals.
I load the demo code (I recognized it as the original example from Adafruit), and I can compile it, transfer to the Arduino Uno and run it.
This works as expected.
I am using an Arduino Mega, so I remove the Uno, and replaces it with a Mega. I connect SDA and SCK of the SSD1306 to the Mega, pins 20 (SDA) and 21(SCL). In the code I right-click, change the board to Mega, and recompile and upload.
This also gives me NO errors, but when I start the sim, I see both SDA and SCL go high (red wires, but also on the oScope), and that is it.
Is this a bug, or am I doing something wrong?
Second issue: Can I add 2 SSD1306 displays to my circuit? It seems I cannot assign a different I2C address to the second display...
I am using simulide 0.5.15RC4, compiled from source on a Debian Linux workstation. This has support for SSD1306, and comes with an example.
The example is an Arduino Uno, the SSD1306 and 2 pullup resistors, quite straightforward. There is also an Oscope in the circuit to look at the signals.
I load the demo code (I recognized it as the original example from Adafruit), and I can compile it, transfer to the Arduino Uno and run it.
This works as expected.
I am using an Arduino Mega, so I remove the Uno, and replaces it with a Mega. I connect SDA and SCK of the SSD1306 to the Mega, pins 20 (SDA) and 21(SCL). In the code I right-click, change the board to Mega, and recompile and upload.
This also gives me NO errors, but when I start the sim, I see both SDA and SCL go high (red wires, but also on the oScope), and that is it.
Is this a bug, or am I doing something wrong?
Second issue: Can I add 2 SSD1306 displays to my circuit? It seems I cannot assign a different I2C address to the second display...