Search found 7 matches

by Geirbakke
12 Oct 2017 22:10
Forum: Z-Uno
Topic: Multiple buttons
Replies: 5
Views: 120

Re: Multiple buttons

I fond the problem.
the long time=0; declaration should be unsigned long time = 0;

Now the switch are working as it should.

Thanks for looking at it anyway :D
by Geirbakke
12 Oct 2017 09:05
Forum: Z-Uno
Topic: Multiple buttons
Replies: 5
Views: 120

Re: Multiple buttons

If I make It smaller it works, Button 1-4 works but after 5 it does not. Before I posted the forum message, I tried to upgrade Arduino to 1.8.5 and installed the 2.1.1 Board. had the same trouble in Arduino 1.6.5 and FW 2.0.9 I have tried to rearange the pin setup for the buttons. If I increases the...
by Geirbakke
11 Oct 2017 23:39
Forum: Z-Uno
Topic: Multiple buttons
Replies: 5
Views: 120

Multiple buttons

HELP! What am I doing wrong? button 1-4 works great, relay switches on as it should. but Button5 and 6 makes the relay flikker. turns on an off. #define Relay_PIN_1 9 //Relay 1 #define Relay_PIN_2 10 //Relay 2 #define Relay_PIN_3 11 //Relay 3 #define Relay_PIN_4 12 //Relay 4 #define Relay_PIN_5 13 /...
by Geirbakke
21 Sep 2017 22:17
Forum: Z-Uno
Topic: Z-Uno software 2.1.0 released
Replies: 11
Views: 506

Re: Z-Uno software 2.1.0 released

After upgrading to 2.1 I get the following error message

Z-Uno_Hytta_Alarm___:383: error: use of undeclared identifier 'SKETCH_FLAG_DEBUF'

uCxx returned error code:1

use of undeclared identifier 'SKETCH_FLAG_DEBUF'

I did not have this error with the previous version.
by Geirbakke
31 May 2017 19:03
Forum: Z-Uno
Topic: Help with a (probably very easy) button sketch!
Replies: 8
Views: 938

Re: Help with a (probably very easy) button sketch!

Her are an example, !not tested! #define Button_PIN_1 14 //Button 1 #define Button_PIN_2 15 //Button 2 #define SWITCH_ON 0xff #define SWITCH_OFF 0 //ZUNO_SETUP_DEBUG_MODE(DEBUG_ON); // Global variables to store data reported via getters byte LastButton_state1 = 0; //Button Last State byte LastButton...
by Geirbakke
31 May 2017 12:20
Forum: Z-Uno
Topic: Z Uno Tellstick
Replies: 2
Views: 350

Re: Z Uno Tellstick

Hi I am getting 11 devices, one master and 10 slave.
The switches (output) I can control from the gateway.
But the input's are not updating the status at the controller.

Hope this explains the problem I am experiensing.
by Geirbakke
30 May 2017 23:16
Forum: Z-Uno
Topic: Z Uno Tellstick
Replies: 2
Views: 350

Z Uno Tellstick

What am I doing wrong? I can't get the status change for the input pins. #define Relay_PIN_1 19 //Relay 1 #define Relay_PIN_2 20 //Relay 2 #define Relay_PIN_3 21 //Relay 3 #define Relay_PIN_4 22 //Relay 4 #define Sensor_PIN_1 17 //Sensor 1 #define Sensor_PIN_2 18 //Sensor 2 #define Door_PIN_1 12 //D...