Hi
Recently I've get strange error: ZUNO_BMP180_sdcpp_.cpp:730:3:error:use of undeclared identifier 'Wire'
I've used that sketch before, but suddenly it stops working. I've reinstall Arduino IDE and still the same...
I'm using copy of "OLED and BMP180" sketch, see below:
#include "Wire.h"
#include "ZUNO_BMP180.h"
#include "ZUNO_OLED_I2C.h"
ZUNO_BMP180 bmp;
OLED oled;
void setup() {
bmp.begin();
oled.begin();
oled.clrscr();
}
void loop() {
delay(1000);
oled.gotoXY(0,0);
oled.print("Millis:");
oled.print(millis());
oled.gotoXY(0,1);
oled.print("Temperature ");
oled.print(bmp.readTemperature());
oled.println(" *C");
oled.print("Pressure ");
oled.print(bmp.readPressure()/133.32);
oled.println(" mm");
delay(2000);
}
Compile problem
Re: Compile problem
Which version of Z-Uno package?
Re: Compile problem
It's a problem of the first beta. Please remove all from packages/Z-Uno & staging/packages and reload board from test-ucxx repository.
Re: Compile problem
Hi
I'm confused with:
remove packages/Z-uno - it is enough to uninstall that package from board manager, or I need to do something more?
remove staging/packkages - where to find it?
I've uninstall Z-Uno by Z-WAVE>ME package from Boards Manager, changed repository to test-ucxx and install again Z-Uno package. But this didn't help. How to remove all packages?
I'm confused with:
remove packages/Z-uno - it is enough to uninstall that package from board manager, or I need to do something more?
remove staging/packkages - where to find it?
I've uninstall Z-Uno by Z-WAVE>ME package from Boards Manager, changed repository to test-ucxx and install again Z-Uno package. But this didn't help. How to remove all packages?
Re: Compile problem
I tested this code once more with current version (2.14) it compiles ok.
You have to remove these folders first (it's from Z-Uno troubleshooting page):
http://z-uno.z-wave.me/getting-started/ ... allPackage
After reinstalling packages please check that you select a right one board in menu
You have to remove these folders first (it's from Z-Uno troubleshooting page):
http://z-uno.z-wave.me/getting-started/ ... allPackage
After reinstalling packages please check that you select a right one board in menu
Re: Compile problem
Hi
Finally I managed to fix it according to http://z-uno.z-wave.me/getting-started/ ... allPackage help.
However I had to find all packages not in roaming folder, but inside documents folder.
Finally I managed to fix it according to http://z-uno.z-wave.me/getting-started/ ... allPackage help.
However I had to find all packages not in roaming folder, but inside documents folder.