If I had any clue what I‘m doing it would probably be much easier to port this project from the #Arduino IDE to #PlatformIO.
Either way this one requires some wiggle room.
But I cannot upload it because #PlatformIO doesn’t seem to support this specific type/version/variant of ESP32.
Also the print on this board probably does not match the actual hardware.
I hate microcontrollers, especially when they‘re fake-fakes and not even genuine fakes.
And how can I find out what chip this actually is and how to get it into programming mode?
Despite trying very hard, the servo wouldn’t rotate when using the digitalPulse function from #Espruino in #Esprit. No idea why but I’m determined to figure it out in the coming days.
Decided to use some C++ code and #Platformio in the meantime to see if it’s the servo’s fault - luckily it’s working. #LegoSorter
Manchmal bereiten #IDE und hoch integrierte Buildsysteme doch mehr Probleme, als man denkt. Ich möchte einen 12 Monate altes Release mit einem Branch bauen und #PlatformIO akzeptiert nicht mehr die Environment-Namen, wenn sie Punkte enthalten. Also ein Backport der Namen. Ein anderer Bug kommt von VS #Code. Die letzte Version verknüpft nicht mehr den Build Task. Den muss man nun manuell in der Command Palette auswählen. 🤷🤔
Anyone willing and/or able to run through a quick setup doc for #platformio that 've knocked up and see if it's any use at all. I'm not a technical author, I' a dev so you're lucky there's some pictures in it tbh. It's a very basic guide but it's what I picked up in a few days mucking about. Hopefully it might help accelerate the process for someone and they can get on with making cool things.
I have no idea what happens if I upload a PDF here, will it kill my poor little instance?
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?