Search found 200 matches

by A.Harrenberg
10 Jul 2017 19:45
Forum: Z-Uno
Topic: BINARY HIGH & LOW
Replies: 4
Views: 281

Re: BINARY HIGH & LOW

Hi BlackCat, to be more precise, "==" is a logical function that returns a boolean value. It just mean "equal to" and returns a TRUE if the two values are equal or return a FALSE if the two values are not equal. So in your code example if (lastValue1 == LOW) { means that the "==" operator compares t...
by A.Harrenberg
10 Jul 2017 09:08
Forum: Z-Uno
Topic: BINARY HIGH & LOW
Replies: 4
Views: 281

Re: BINARY HIGH & LOW

Hi, HIGH and LOW are some standard defined values. At the moment I can't find where they are defined but you can just use them without any declaration. In the example you posted the byte lastValue1=HIGH is just the declaration of a byte-variable with the name lastValue1 and an initialization of the ...
by A.Harrenberg
03 Jul 2017 08:44
Forum: Z-Uno
Topic: Define ZUNO Channel
Replies: 16
Views: 1505

Re: Define ZUNO Channel

Ok,

good to hear that it is working now! Was the problem related to the INT Pin?

Regards,
Andreas.
by A.Harrenberg
01 Jul 2017 12:39
Forum: Z-Uno
Topic: Release 2.0.8?
Replies: 24
Views: 2491

Re: Release 2.0.8?

Hi PoltoS, 2.0.10 is on the way. Few cool feature to come in this release. Dynamic configuration of channels from the sckets and an example of a sketch implementing serial AT-like protocol. Also Arduino IDE 1.8.5+ support. Unfortunatelly it was shifted to the end of June. any update for the release ...
by A.Harrenberg
01 Jul 2017 12:35
Forum: Z-Uno
Topic: Define ZUNO Channel
Replies: 16
Views: 1505

Re: Define ZUNO Channel

Hi, Thanks, but why would I make or need an association? This is not controlling another device. It is the device, I just need to have the UI indicate correctly. MAybe I have missed something or not understanding a principle? yes, my mistake, you are right! The zunoSendReport() always send to the co...
by A.Harrenberg
28 Jun 2017 20:07
Forum: Z-Uno
Topic: Define ZUNO Channel
Replies: 16
Views: 1505

Re: Define ZUNO Channel

Hi,

I think the code looks ok now, are you shure that you hade made the association with the channels correctly inside ZWay?

BR,
Andreas
by A.Harrenberg
27 Jun 2017 23:14
Forum: Z-Uno
Topic: Define ZUNO Channel
Replies: 16
Views: 1505

Re: Define ZUNO Channel

Hi, just a short feedback... You mixed up the code a little bit ,-) In the main loop() you have to put the two blocks that check the button 1 and 2. In the current code the block that is checking for button 2 is inside the setterswitch1() function... (which means the button is only checked when the ...
by A.Harrenberg
25 Jun 2017 00:04
Forum: Z-Uno
Topic: converting from Arduino to Z-UNO simple code help needed
Replies: 5
Views: 482

Re: converting from Arduino to Z-UNO simple code help needed

Hi,

what other post? The initial post in this thread?
Maybe it is easier if you explain what you want to achieve instead of trying to convert some code from Arduino.

Regards,
Andreas.
by A.Harrenberg
24 Jun 2017 12:54
Forum: Z-Uno
Topic: converting from Arduino to Z-UNO simple code help needed
Replies: 5
Views: 482

Re: converting from Arduino to Z-UNO simple code help needed

Hi,

if you only want to have a switch / relay working, why not using directly the examples from Z-Uno? You will need to setup the Z-Uno specific functions anyhow...

Regards,
Andreas.
by A.Harrenberg
24 Jun 2017 12:50
Forum: Z-Uno
Topic: Download current sketch on Z-UNO
Replies: 2
Views: 267

Re: Download current sketch on Z-UNO

Hi,

as far as I know, that is NOT possible.

You might want to post the code here together with the error so someone could possibly find the error...

Regards,
Andreas.