implement LCD12864 with ST7920 for MEGA2560 for opentx
Posted: Thu Apr 09, 2015 7:31 pm
Hello,
I want to build a DIY RC transmitter.
I have the joysticks, a lot of switches, pushbuttons and a 128x64 pixel LCD with a ST7920 controller inside.
At this moment I have nothing connected to the MEGA2560 except the display.
So I decided to try to change the ST7565 driver in the opentx/radio/src/targets/mega2560 folder to drive the ST7920 display.
the Init is ok and all of the data from the "displayBuf" variable gets transmitted and displayed on the LCD.
But all I can see on the dislay isn't readable.
Can anyone confirm, that my picture is okay for the opentx software?
I had never before a Transmitter with opentx, so I have no experience with that.
I wrote the Data of "displayBuf" in the first row and began with the second row with the next byte from "displayBuf"
row1 = byte0...15
row2= byte 16...31
...
If I get the driver working on my display I will share it here or in the Git Repository for everyone!
Please look over this informations and give me a little hint what is wrong here.
Thank you very much!
best regards
I want to build a DIY RC transmitter.
I have the joysticks, a lot of switches, pushbuttons and a 128x64 pixel LCD with a ST7920 controller inside.
At this moment I have nothing connected to the MEGA2560 except the display.
So I decided to try to change the ST7565 driver in the opentx/radio/src/targets/mega2560 folder to drive the ST7920 display.
the Init is ok and all of the data from the "displayBuf" variable gets transmitted and displayed on the LCD.
But all I can see on the dislay isn't readable.
Can anyone confirm, that my picture is okay for the opentx software?
I had never before a Transmitter with opentx, so I have no experience with that.
I wrote the Data of "displayBuf" in the first row and began with the second row with the next byte from "displayBuf"
row1 = byte0...15
row2= byte 16...31
...
If I get the driver working on my display I will share it here or in the Git Repository for everyone!
Please look over this informations and give me a little hint what is wrong here.
Thank you very much!
best regards