I am getting the following error compiling after the holidays. It was working fine before. Must have been an update by Particle. Do we have to add the Platoform_ID to IDE Application now? Please let me know how to solve this issue. Thanks.
DS18B20/Particle-OneWire.h:125:6: error: #error “*** PLATFORM_ID not supported by this library. PLATFORM should be Core, Photon, or Electron " #error " PLATFORM_ID not supported by this library. PLATFORM should be Core, Photon, or Electron ***”
Without seeing some code, and preferably the full error output, it’s very hard to debug. If you could get us those, I’m sure we can figure something out.
@Moors7, I am just running Use This Example from DS18B20 library.
After that I do Verify on WebIDE. You will see that compile error on Particle-Onewire.
What device do you have selected? Open the Devices icon (circle with the 4 lines, the target icon) and see which one has the gold star next to it. The library only supports Core, Photon, P1, Electron, and RedBear Duo. If you have something else selected, say Bluz or Raspberry Pi, it will fail with that error.