Results 127 comments of uraimo

I'm looking into this, but no idea what could be the the cause for now, the subscripts in UART.swift look ok. It never happened with devices where I was only...

Hmm, the error is the same but the issue is specific of I2C (for the former one, swiftygpio didn't even touch the data array, could have been fixed by Swift...

Two different issues, for the first one yeah, that data[0] contains the buffer length to be sent to the lower layers, so the hard limit is 255. That "invalid argument"...

Hmm, I've reworked a bit the previous commit but that shouldn't change anything for you. Also, that invalid argument error could have multiple causes. I'm looking at the SSD1306 library...

Correct me if I'm wrong, but they control their send rate using a [WIRE_MAX constant](https://github.com/adafruit/Adafruit_SSD1306/blob/master/Adafruit_SSD1306.cpp#L57) that could reasonably be `32` and they break and restart the I2C connection every WIRE_MAX...

I'm trying your code with a 0xAA pattern that should display some lines but they get broken up at regular intervals. For me, sending 32 bytes works too (better in...

Oh... right, nvm. I have no ideas right now about what could be wrong other than setting specific to the display, I'll play around with it writing blocks of increasing...

Thanks for debugging this @Fishybob! I've added two new read/write methods and pushed 1.1.6, still need to test it though.

Ok, the display works for me too using the new i2c_block_data method. I've also reverted the modifications related to the max packet size bringing it back to a max of...

Great! I'll keep an eye on the progress of your library ;)