grahamwhaley / DSPham

A Teensy based DSP audio processor
GNU General Public License v3.0
24 stars 7 forks source link

Need to use LiquidCrystal_I2C #26

Closed kabidey closed 1 year ago

kabidey commented 1 year ago

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help.

grahamwhaley commented 1 year ago

Hi @kabidey, if you can tell me which I2C screen you have then I might be able to help. As the screen I used (Grove) is already I2C, it might be not too difficult to make the changes.

Ideally your screen will be supported by the menu library I use: https://github.com/neu-rah/ArduinoMenu

Merry Xmas! Graham (replying via email - hope it renders OK. I will have more time to look after xmas).

On 24 Dec 2022, at 18:49, kabidey @.***> wrote:

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kabidey commented 1 year ago

My display is the parallel 1602 lcd display with a I2C adapter soldered.

On Sun, Dec 25, 2022, 12:46 AM Graham Whaley @.***> wrote:

Hi @kabidey, if you can tell me which I2C screen you have then I might be able to help. As the screen I used (Grove) is already I2C, it might be not too difficult to make the changes.

Ideally your screen will be supported by the menu library I use: https://github.com/neu-rah/ArduinoMenu

Merry Xmas! Graham (replying via email - hope it renders OK. I will have more time to look after xmas).

On 24 Dec 2022, at 18:49, kabidey @.***> wrote:

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364573771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO62TFCCH2U67OXNE6Z534DWO5DYVANCNFSM6AAAAAATISNOME . You are receiving this because you were mentioned.Message ID: @.***>

grahamwhaley commented 1 year ago

Thanks @kabidey,

I think you will probably want to use the ' • HD44780 I2C’ support from the F Malpartida's LCDs : https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home

A very good first step will be to see if you can get the arduino menu examples working , for instance, for your screen probably try:

https://github.com/neu-rah/ArduinoMenu/tree/master/examples/LCD_Malpartida/I2C/I2C

If you get that working, you are probably 75% of the way to getting DSPham working on your display. The other thing you will need to modify in DSPham is the ‘lcd.cpp’ to change from using the ‘rgb_lcd’ driver to using the malpartida I2C or similar driver. https://github.com/grahamwhaley/DSPham/blob/master/lcd.cpp

Graham

On 24 Dec 2022, at 19:40, kabidey @.***> wrote:

My display is the parallel 1602 lcd display with a I2C adapter soldered.

On Sun, Dec 25, 2022, 12:46 AM Graham Whaley @.***> wrote:

Hi @kabidey, if you can tell me which I2C screen you have then I might be able to help. As the screen I used (Grove) is already I2C, it might be not too difficult to make the changes.

Ideally your screen will be supported by the menu library I use: https://github.com/neu-rah/ArduinoMenu

Merry Xmas! Graham (replying via email - hope it renders OK. I will have more time to look after xmas).

On 24 Dec 2022, at 18:49, kabidey @.***> wrote:

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364573771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO62TFCCH2U67OXNE6Z534DWO5DYVANCNFSM6AAAAAATISNOME . You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

kabidey commented 1 year ago

I tried, but could not do it. So I ordered a grove LCD ;)

On Sun, Dec 25, 2022 at 1:23 AM Graham Whaley @.***> wrote:

Thanks @kabidey,

I think you will probably want to use the ' • HD44780 I2C’ support from the F Malpartida's LCDs : https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home

A very good first step will be to see if you can get the arduino menu examples working , for instance, for your screen probably try:

https://github.com/neu-rah/ArduinoMenu/tree/master/examples/LCD_Malpartida/I2C/I2C

If you get that working, you are probably 75% of the way to getting DSPham working on your display. The other thing you will need to modify in DSPham is the ‘lcd.cpp’ to change from using the ‘rgb_lcd’ driver to using the malpartida I2C or similar driver. https://github.com/grahamwhaley/DSPham/blob/master/lcd.cpp

Graham

On 24 Dec 2022, at 19:40, kabidey @.***> wrote:

My display is the parallel 1602 lcd display with a I2C adapter soldered.

On Sun, Dec 25, 2022, 12:46 AM Graham Whaley @.***> wrote:

Hi @kabidey, if you can tell me which I2C screen you have then I might be able to help. As the screen I used (Grove) is already I2C, it might be not too difficult to make the changes.

Ideally your screen will be supported by the menu library I use: https://github.com/neu-rah/ArduinoMenu

Merry Xmas! Graham (replying via email - hope it renders OK. I will have more time to look after xmas).

On 24 Dec 2022, at 18:49, kabidey @.***> wrote:

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364573771>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AO62TFCCH2U67OXNE6Z534DWO5DYVANCNFSM6AAAAAATISNOME

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364577303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO62TFFQODH3UCC56KIOAUTWO5IEVANCNFSM6AAAAAATISNOME . You are receiving this because you were mentioned.Message ID: @.***>

grahamwhaley commented 1 year ago

OK @kabidey, thanks for letting me know. Shall we close this Issue now, and you can open a new one if you get stuck with the new display?

On 26 Dec 2022, at 20:51, kabidey @.***> wrote:

I tried, but could not do it. So I ordered a grove LCD ;)

On Sun, Dec 25, 2022 at 1:23 AM Graham Whaley @.***> wrote:

Thanks @kabidey,

I think you will probably want to use the ' • HD44780 I2C’ support from the F Malpartida's LCDs : https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home

A very good first step will be to see if you can get the arduino menu examples working , for instance, for your screen probably try:

https://github.com/neu-rah/ArduinoMenu/tree/master/examples/LCD_Malpartida/I2C/I2C

If you get that working, you are probably 75% of the way to getting DSPham working on your display. The other thing you will need to modify in DSPham is the ‘lcd.cpp’ to change from using the ‘rgb_lcd’ driver to using the malpartida I2C or similar driver. https://github.com/grahamwhaley/DSPham/blob/master/lcd.cpp

Graham

On 24 Dec 2022, at 19:40, kabidey @.***> wrote:

My display is the parallel 1602 lcd display with a I2C adapter soldered.

On Sun, Dec 25, 2022, 12:46 AM Graham Whaley @.***> wrote:

Hi @kabidey, if you can tell me which I2C screen you have then I might be able to help. As the screen I used (Grove) is already I2C, it might be not too difficult to make the changes.

Ideally your screen will be supported by the menu library I use: https://github.com/neu-rah/ArduinoMenu

Merry Xmas! Graham (replying via email - hope it renders OK. I will have more time to look after xmas).

On 24 Dec 2022, at 18:49, kabidey @.***> wrote:

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364573771>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AO62TFCCH2U67OXNE6Z534DWO5DYVANCNFSM6AAAAAATISNOME

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364577303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO62TFFQODH3UCC56KIOAUTWO5IEVANCNFSM6AAAAAATISNOME . You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

kabidey commented 1 year ago

Sure, thanks

On Tue, Dec 27, 2022, 4:29 AM Graham Whaley @.***> wrote:

OK @kabidey, thanks for letting me know. Shall we close this Issue now, and you can open a new one if you get stuck with the new display?

On 26 Dec 2022, at 20:51, kabidey @.***> wrote:

I tried, but could not do it. So I ordered a grove LCD ;)

On Sun, Dec 25, 2022 at 1:23 AM Graham Whaley @.***> wrote:

Thanks @kabidey,

I think you will probably want to use the ' • HD44780 I2C’ support from the F Malpartida's LCDs : https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home

A very good first step will be to see if you can get the arduino menu examples working , for instance, for your screen probably try:

https://github.com/neu-rah/ArduinoMenu/tree/master/examples/LCD_Malpartida/I2C/I2C

If you get that working, you are probably 75% of the way to getting DSPham working on your display. The other thing you will need to modify in DSPham is the ‘lcd.cpp’ to change from using the ‘rgb_lcd’ driver to using the malpartida I2C or similar driver. https://github.com/grahamwhaley/DSPham/blob/master/lcd.cpp

Graham

On 24 Dec 2022, at 19:40, kabidey @.***> wrote:

My display is the parallel 1602 lcd display with a I2C adapter soldered.

On Sun, Dec 25, 2022, 12:46 AM Graham Whaley @.***> wrote:

Hi @kabidey, if you can tell me which I2C screen you have then I might be able to help. As the screen I used (Grove) is already I2C, it might be not too difficult to make the changes.

Ideally your screen will be supported by the menu library I use: https://github.com/neu-rah/ArduinoMenu

Merry Xmas! Graham (replying via email - hope it renders OK. I will have more time to look after xmas).

On 24 Dec 2022, at 18:49, kabidey @.***> wrote:

Hi Graham, i am not good with modifying the codes, need the thing modified to display in 1602 I2C, i cannot do it. Please help. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364573771>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AO62TFCCH2U67OXNE6Z534DWO5DYVANCNFSM6AAAAAATISNOME

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1364577303>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AO62TFFQODH3UCC56KIOAUTWO5IEVANCNFSM6AAAAAATISNOME

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/grahamwhaley/DSPham/issues/26#issuecomment-1365495831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO62TFG6ZRHPKKGNR43W6U3WPIPOHANCNFSM6AAAAAATISNOME . You are receiving this because you were mentioned.Message ID: @.***>