p3p / pio-nxplpc-arduino-lpc176x

Apache License 2.0
4 stars 13 forks source link

Wire.requestFrom #4

Open aleknest opened 4 years ago

aleknest commented 4 years ago

Hi. Have troubles in Marlin with Wire.h

Wire.requestFrom (addr,len); if (Wire.available()>=0) { SERIAL_ECHOLN("available");

I never see "available". This code work perfect on mega2560

p3p commented 4 years ago

Thanks for the information, I'l look into it, this isn't really a general Arduino framework, just designed for Marlin, but I'm pretty sure some people have used I2C devices with it.

aleknest commented 4 years ago

I can share master modules (Marlin, SKR 1.3, PlatformIO) and slave project(Self maded, Arduino nano, PlatformIO). If it necessary, of course

ellensp commented 4 years ago

I2C OLED ssd1306 displays work fine on marlin on lpc1768 using this (It was also a SKR 1.3)