maarten-pennings / iAQcore

Arduino library for the iAQ-core indoor air quality sensor module with I2C interface
MIT License
15 stars 7 forks source link

Install in Platform IO #5

Open TimoZuerner opened 4 years ago

TimoZuerner commented 4 years ago

Hello Sir I was not able how to install the libary at Platform IO maybe you are able to help me.

maarten-pennings commented 4 years ago

I never worked with platform io ...

TimoZuerner commented 4 years ago

Okay, no problem then I think I implemented it right and I am recieving some weird data thats not readable. Its like printing random signs really weird ones xD

TimoZuerner commented 4 years ago

I also added the libary to arduino but it seems like it cant find it

sketch_feb08a.ino:10:40: error: iAQcore.h: No such file or directory sketch_feb08a:13: error: 'iAQcore' does not name a type sketch_feb08a.ino: In function 'void setup()': sketch_feb08a:26: error: no matching function for call to 'TwoWire::begin(const uint8_t&, const uint8_t&)' C:\Program Files (x86)\Arduino\libraries\Wire/Wire.h:49: note: candidates are: void TwoWire::begin() C:\Program Files (x86)\Arduino\libraries\Wire/Wire.h:50: note: void TwoWire::begin(uint8_t) C:\Program Files (x86)\Arduino\libraries\Wire/Wire.h:51: note: void TwoWire::begin(int) sketch_feb08a:27: error: 'class TwoWire' has no member named 'setClockStretchLimit' sketch_feb08a:33: error: 'iaqcore' was not declared in this scope sketch_feb08a.ino: In function 'void loop()': sketch_feb08a:44: error: 'iaqcore' was not declared in this scope sketch_feb08a:47: error: 'IAQCORE_STAT_I2CERR' was not declared in this scope sketch_feb08a:49: error: 'IAQCORE_STAT_ERROR' was not declared in this scope sketch_feb08a:51: error: 'IAQCORE_STAT_BUSY' was not declared in this scope sketch_feb08a:58: error: 'IAQCORE_STAT_RUNIN' was not declared in this scope