Air Quality Wing Photon 2

Looking for assistance with the web ide and the community library " AirQualityWing" 1.0.2. --

I'm trying to push code to a photon 2, but the 'airqualitywing.h' appears to have a platform check:
__code
#ifndef AIR_QUALITY_H
#define AIR_QUALITY_H

#include "Particle.h"

#if (PLATFORM_ID != PLATFORM_XENON) && (PLATFORM_ID != PLATFORM_ARGON) && (PLATFORM_ID != PLATFORM_BORON)
#error The Air Quality Wing Library only supports Xenon, Argon and Boron.
#endif


How would I modify this community code library to include the 'photon 2' platform check? I tried to just edit/type on the screen but I can not seem to edit it.

It is difficult to modify a public library in the Web IDE. The options for doing it are listed here.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.