Bruno4l / SSD1306-EK-TM4C123GXL

This is a driver for 128x32 oled screens that use SSD1306 and communicate through the I2C protocol.
MIT License
4 stars 0 forks source link

Queries regarding your library #1

Closed Vignesh0619 closed 7 months ago

Vignesh0619 commented 1 year ago

Hi bruno, I was going through your SSD1306 library .It looks really helpful for my project but I have a few questions I wanna ask. 1.is this for a 128x64 display or for 128x32 display. Your code seems to be for a x64 module for the title says otherwise

  1. is the data file correct and uncorrupted. Could you check that once
  2. I also noticed that in your ssd1306.h file you have defined variable bitmap_t. But you have not used it anywhere from what I can see. Is that on purpose or is it an error.
  3. Lastly is this library compatible with code composer studio

I am extremely thankful for your library and I am sorry if I was rude.I hope to hear back from you very soon. -Vignesh

Bruno4l commented 1 year ago

Hi Vignesh This project I developed as part of a college project, that was some time ago, but I'll try to help you.

  1. this is for 128x32 but you can change the initialization sequence in OLED_Init() to 128x64
  2. this file is corrupted, but it does not interfere with the functioning of the library
  3. the bitmap_t type was defined but not used, so not an error
  4. probably yes if you are using a TM4C123GXL, but if it is not compatible, you can change the functions I2C_sendSingleByte(uint8_t slave_addr, char data) and I2C_sendMultipleBytes(uint8_t slave_addr, uint8_t numOfBytes, char by[]) to match your hardware
Vignesh0619 commented 1 year ago

Hi bruno,

Thanks for the quick reply.

Vignesh

On Tue, 27 Dec 2022, 05:37 Bruno T. Castellani, @.***> wrote:

Hi Vignesh This project I developed as part of a college project, that was some time ago, but I'll try to help you.

  1. this is for 128x32 but you can change the initialization sequence in OLED_Init() to 128x64
  2. this file is corrupted, but it does not interfere with the functioning of the library
  3. the bitmap_t type was defined but not used, so not an error
  4. probably yes if you are using a TM4C123GXL, but if it is not compatible, you can change the functions I2C_sendSingleByte(uint8_t slave_addr, char data) and I2C_sendMultipleBytes(uint8_t slave_addr, uint8_t numOfBytes, char by[]) to match your hardware

— Reply to this email directly, view it on GitHub https://github.com/Bruno4l/SSD1306-EK-TM4C123GXL/issues/1#issuecomment-1365514372, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4ZBFIUYQW6G2V5DZWKDWELWPIXMHANCNFSM6AAAAAATHUGRSQ . You are receiving this because you authored the thread.Message ID: @.***>