Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: cozir library not finding .h file on: July 19, 2014, 06:16:32 am
The library is in the arduino/libraries folder.

I changed the include in the sketch to  #include <cozir.h> and the declaration in the cpp file from Cozir to cozir

It now works many thanks for all the help.
2  Using Arduino / Programming Questions / cozir library not finding .h file on: July 19, 2014, 04:59:45 am
I have installed the cozir library 1.0.3 for the cozir co2 module in Arduino 1.0.5 on ubuntu. When I try to compile I get the error :-

cozir.cpp:14:19: error: Cozir.h: No such file or directory

then others caused by this, even though the Cozir.h file is installed in the same directory.

What mistake am I making ?

If I comment out  //#include "cozir.h" from the code below I get the error

 error: ‘COZIR’ does not name a type

#include <SoftwareSerial.h>
#include "cozir.h"

 SoftwareSerial nss(3,2);
COZIR czr(nss);

void setup()

void loop()
  float t = czr.Celsius();
  float f = czr.Fahrenheit();
  float h = czr.Humidity();
  uint16_t c = czr.CO2();
  Serial.print("Celcius = ");Serial.println(t);
  Serial.print("Fahrenheit = ");Serial.println(f);
  Serial.print("Humidity = ");Serial.println(h);
  Serial.print("CO2 = ");Serial.println(c);
3  Using Arduino / Sensors / Re: Temp, Humidity CO2 sensor and library. on: January 17, 2013, 04:34:36 am
the attachment returns Error 503 Service Unavailable

Do you have code that works on an arm nxp lpc1769 ?

My CO2 readings seem high what's the best way to calibrate this device. I only have outside air to calibrate against.

many thanks
Pages: [1]