iC2 2004A from Flowcode 7 via ATMEGA32 FAILURE
Posted: Mon Nov 16, 2020 12:35 pm
I have a working Flowcode 7 program printing to a 2004A (parallel) LCD 20 x 4 display and want to upgrade to run iC2 2004A displays recently purchased from Banggood.
I wrote a simple printing program using the LCD(I2C) Flowcode component. It prints Ints and strings in simulation and complied to the ATMEG32 Hex without error.
On connecting GND, VCC, SDA, and SCL to the iC2 2004A, no printing was achieved.
The panel properties showed that SDA was port B4 and SCL, port B6 not Port C0 and Port C1 as shown on the ATMEGA32 diagram. The component address could be 0x27 (32) or 0x3F (63) but neither worked. I tried using the B port pins or the C port pins but with no success. One possibility is that all 6 of the i2c 2004 displays are faulty. With the old version turning the contrast pot changes the blocks from bright through dark to background, but with the new devices this only happens to line 0 and 2. The blocks for line 1 and 3 remain very dimly discernable throughout. I am a naive 82-year old programmer, and have only just come across iC2, but this program is important to me and with a sense of urgency and I would be most grateful for help.
I wrote a simple printing program using the LCD(I2C) Flowcode component. It prints Ints and strings in simulation and complied to the ATMEG32 Hex without error.
On connecting GND, VCC, SDA, and SCL to the iC2 2004A, no printing was achieved.
The panel properties showed that SDA was port B4 and SCL, port B6 not Port C0 and Port C1 as shown on the ATMEGA32 diagram. The component address could be 0x27 (32) or 0x3F (63) but neither worked. I tried using the B port pins or the C port pins but with no success. One possibility is that all 6 of the i2c 2004 displays are faulty. With the old version turning the contrast pot changes the blocks from bright through dark to background, but with the new devices this only happens to line 0 and 2. The blocks for line 1 and 3 remain very dimly discernable throughout. I am a naive 82-year old programmer, and have only just come across iC2, but this program is important to me and with a sense of urgency and I would be most grateful for help.