Seeed-Studio / Grove_Air_quality_Sensor

test for air quality
MIT License
21 stars 16 forks source link

Example on wiki broken #2

Closed doriath closed 8 years ago

doriath commented 10 years ago

Hi,

In commit 1df9089276e7d179ed2fd43f0dc41beea67abdfe, the interface to AirQuality::init(int pin) changed from receiving one argument to receiving two arguments. It breaks the example on following wiki:

http://www.seeedstudio.com/wiki/Grove_-_Air_Quality_Sensor

That is calling:

airqualitysensor.init(14);

KillingJacky commented 9 years ago

Hi, In commit 3f5935a69300e09b70747760fb942e74f206cf25, we changed the init method to one argument.

KillingJacky commented 8 years ago

closed this, feel free to reopen for further questions.