Search found 167 matches

by p0lyg0n1
19 Oct 2016 21:19
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 6696

Re: adding library to toolchain

I found datasheet for BMP280 which contains fix-math code for it. http://ru.mouser.com/ds/2/621/BST-BMP280-DS001-09-371189.pdf I think it will be helpful for you. See section 8.2 Compensation formula in 32 bit fixed point . This code uses types BMP280_S32_t and BMP280_U32_t. In our case it will be l...
by p0lyg0n1
19 Oct 2016 16:59
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 6696

Re: adding library to toolchain

First of all: - don't pass parameters by reference, use pointers instead. uCxx doesn't support references yet. - don't use "double". It's not an error cause SDCC will automatically replace it with "float", but you have to know. i8051 too small to deal with 64bit float point values. Please use fix-po...
by p0lyg0n1
19 Oct 2016 12:54
Forum: Z-Uno
Topic: Compatibility with Fibaro HC2 - Problem Corrected
Replies: 27
Views: 10835

Re: Compatibility with Fibaro HC2

Hello,
Can you give more details to us?
What sketch do you use?
We can try this with our HC2.
by p0lyg0n1
19 Oct 2016 12:46
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 6696

Re: adding library to toolchain

looks like you try to call method with another argument types... May be it's a "mangling" problem of compiler. Please send me your code. It will be really cool if we catch and fix maximum amount of compiler's problems for the next release...
by p0lyg0n1
18 Oct 2016 16:01
Forum: Z-Uno
Topic: GPIO inputs without pullup (HiZ) problem
Replies: 12
Views: 5246

Re: GPIO inputs without pullup (HiZ) problem

Looks like you are right. Pull-up controll was broken till 0.68. I will add an issue to tracker.
by p0lyg0n1
18 Oct 2016 15:54
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 6696

Re: adding library to toolchain

So, It works on my system normally (MacOS X / Arduino IDE 1.6.5). You can see that it loaded your header and found some errors in .cpp-file. Используем библиотеку ZUNO_DHTlib в папке: /Users/alexander/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.0.6/libraries/ZUNO_DHTlib (legacy) /Users/alexan...
by p0lyg0n1
18 Oct 2016 13:30
Forum: Z-Uno
Topic: GPIO inputs without pullup (HiZ) problem
Replies: 12
Views: 5246

Re: GPIO inputs without pullup (HiZ) problem

Hi, Gerard. I try it and will post results here. The normal value of pull-up have to be about 20 KOhms.
by p0lyg0n1
18 Oct 2016 13:08
Forum: Z-Uno
Topic: RESOLVED Z-uno doesn't appear in serial ports
Replies: 17
Views: 4783

Re: RESOLVED Z-uno doesn't appear in serial ports

If you have TeamViewer I can look it myself. Just write me PM with TeamViewer login / psw.
by p0lyg0n1
18 Oct 2016 13:06
Forum: Z-Uno
Topic: RESOLVED Z-uno doesn't appear in serial ports
Replies: 17
Views: 4783

Re: RESOLVED Z-uno doesn't appear in serial ports

Hi, wirex. Looks like problem is not in your USB. IDE opens a port normally, but It can't write the sketch data to memory. Can you send complete log of compiler/uploader? It located in C:\Users\Gast\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.10/zuno_toolchain/. Look for *.lo...
by p0lyg0n1
17 Oct 2016 22:58
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 6696

Re: adding library to toolchain

Hi, frueck. It's very strange. It have to work. So, lets do it together. Step by step: 1. You add your library to folder: C:\Users\ftrue\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6\libraries\ZUNO_BMP280\ 2. Here you placed ZUNO_BMP280.h and ZUNO_BMP280.cpp 3. And then you added to t...