Search found 12 matches

by TheRafal
06 Nov 2020 21:50
Forum: Z-Uno
Topic: Adafruit MMA8451
Replies: 4
Views: 450

Re: Adafruit MMA8451

Ok today i've test to modify the adafruit library. i remove some code inside to have just the Wire.read() values and i get some good news. Here is the original code of the read function void Adafruit_MMA8451::read(void) { // read x y z at once Wire.beginTransmission(_i2caddr); i2cwrite(MMA8451_REG_O...
by TheRafal
04 Nov 2020 11:47
Forum: Z-Uno
Topic: Adafruit MMA8451
Replies: 4
Views: 450

Re: Adafruit MMA8451

Ok, i've tried to add pull-up resistor on I2C line but unfortunately, no changes on values... i don't understand what to do, the values sended to my other arduino is inconsistente too...
by TheRafal
04 Nov 2020 00:35
Forum: Z-Uno
Topic: Adafruit MMA8451
Replies: 4
Views: 450

Re: Adafruit MMA8451

I've a question for the dev, is the I2C bus have a pull-up resistor ? It's maybe the problem i have
by TheRafal
02 Nov 2020 12:12
Forum: Z-Uno
Topic: Adafruit MMA8451
Replies: 4
Views: 450

Re: Adafruit MMA8451

UP ! I've tryed different things like rebuild my wirring, read all i've found in reference about I2C on z-uno to be sure to don't miss a thing, compare library with another I2C one for Z-uno (BMP180) but i don't understand why this code work on nano and mega but not with z-uno. it's strange, it fell...
by TheRafal
29 Oct 2020 00:15
Forum: Z-Uno
Topic: Adafruit MMA8451
Replies: 4
Views: 450

Adafruit MMA8451

Hi, i can't get my Adafruit sensor MMA8451 working properly with I2C. I've a kind of noise when reading values. i've tested the same code and wiring with a mega and a nano without troubles. Here is my code. /* Name: Zuno.ino Created: 03/03/2019 09:16:11 Author: RorshaR */ //Libraries #include <Adafr...
by TheRafal
23 Oct 2020 10:03
Forum: Z-Uno
Topic: Error when compiling custom class
Replies: 3
Views: 616

Re: Error when compiling custom class

Hi Poly, before post here with the code a gave you, i've a full class with various field inside. I remove it one by one to test each time but error still here... For the adafruit sensor, finally i didn't use it because i don't have time for this. It's to use with the MMA8451 and it's library... with...
by TheRafal
19 Oct 2020 11:06
Forum: Z-Uno
Topic: Error when compiling custom class
Replies: 3
Views: 616

Re: Error when compiling custom class

So i try with different way to get my scketch work and i didn't use custom classes. Now i've another error. When compiling, the z-uno programmer make some error. Now, with Adafruti sensor libraries, it add double ; at the end of some functions... Why ? don't know, they are not in the original files ...
by TheRafal
14 Oct 2020 15:00
Forum: Z-Uno
Topic: Error when compiling custom class
Replies: 3
Views: 616

Error when compiling custom class

Hi, i've build some customs classes for my project but i've a problem when compiling the sketch. All have the same error... This classes work on a standard Arduino MEGA. The error is : Alarme_ucxx.c:584: syntax error: token -> '}' ; column 1 Alarme is my custom Class. Here is the code in Alarm_uccss...
by TheRafal
03 Sep 2020 08:57
Forum: Z-Uno
Topic: Get datetime from controller
Replies: 6
Views: 746

Re: Get datetime from controller

No i doesnt have to be precise, it's to trigger some event at a special time in hour or in hour and minutes.
I will take a look at your exemple, thank you ;)
by TheRafal
02 Sep 2020 09:02
Forum: Z-Uno
Topic: Get datetime from controller
Replies: 6
Views: 746

Re: Get datetime from controller

Ok thank you.

Last question for you, can tell me were to implement it in Z-uno core library ? i'm not very familiar with Z-wave and take a look at other implementation can help me ;)