ScaredyCat,

I think I've tracked down my #platformio #esp32 bug... for some reason, using custom pins for i2c yields :

Scanning...
No I2C devices found

in Platformio but works fine in the #Arduino IDE. If I change them back to the default (GPIO22 = SCL / GPIO21 = SDA) on my test 32 wroom board it finds the i2c device. This doesn't help if I then try and read i2c on a custom device.

Doesn't appear to be picking up my pins_arduino.h changed - although the definitions are there.

Anyone know how to redefine pins and/or define a custom board in platformio (or at least override pins as you would by adding your board (pins_arduino.h) in the variants folder for the arduino IDE?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • esp32
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • tester
  • lostlight
  • All magazines