I'm really new to this Arduino world. This is the error I get:
-----
Using library OneWire in folder: C:\Users\m\Documents\Arduino\libraries\OneWire (legacy)
C:\Users\m\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.02.10/zuno_toolchain/compiler build C:\Users\m\AppData\Local\Temp\build8357236079358015069.tmp/MultiOneWire.cpp -r C:\Users\m\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\0.6.7 -p C:\Users\m\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.02.10/zuno_toolchain/sdcc/bin/ -o -mmcs51 --out-fmt-ihx --model-large --verbose --debug --use-stdout --code-loc 0x8000 --xram-loc 0x3000
sdcpp.exe: fatal error: when writing output to : No error
MultiOneWire.ino:5:11:error: token -> 'dsa' ; column 11
token -> 'dsa' ; column 11
-----
And the error comes when I add the line:
OneWire dsa(9);
Any idea why this is?
Compile error OneWire
Re: Compile error OneWire
Hello! The notion used in this line is C++, not C. Version 0.6.7 of Z-Uno compiler do not support C++, while our testing 2.0.4 does.
Check http://z-uno.z-wave.me/news/2016/08/new ... ion-2-0-4/ and http://z-uno.z-wave.me/news/2016/06/tes ... -in-z-uno/
But 1-wire is not yet operable in Z-Uno, this is subject of next two releases. We believe first to release 2.0.x (stable C++ version) and then do 1-wire in mid August or easly September. So please wait a bit before starting with 1-wire.
Check http://z-uno.z-wave.me/news/2016/08/new ... ion-2-0-4/ and http://z-uno.z-wave.me/news/2016/06/tes ... -in-z-uno/
But 1-wire is not yet operable in Z-Uno, this is subject of next two releases. We believe first to release 2.0.x (stable C++ version) and then do 1-wire in mid August or easly September. So please wait a bit before starting with 1-wire.