Daisy chain #1146
coderatchance
started this conversation in
Future Development Discussion
Daisy chain
#1146
Replies: 4 comments 13 replies
-
A couple questions:
|
Beta Was this translation helpful? Give feedback.
6 replies
-
Let me recap; so if the sensor PROX goes above threshold, fire the interrupt and start summing the time; current + start time. Once the PROC below the threshold, fire or clear the interrupt? That should give me the time for the proximity?The ALS is done as a toggle so far. Not sure how to advance from here and tackle the flip-flop?Anyway, it sounds very optimistic for me.Can you throw an example, I am not good with the interrupts; always lost when it comes to clearing them especially in the Arduino, etc.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks, will adopt it and try to use it in my hw setup. Need to 1st wire up the interrupt pin, etc… and code it in the setup along with the sensor readings, etc. Will report back… There is a code for master/slave, although it is rather clear what each is doing, not sure how will they run together…Best!
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello @MX682X I have deleted the previous code, created new, however, it does not work, I am returning here for help, somehow I cannot get my head around this. Can you help?
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I would like to implement a daisy chain, namely transfering a function via the ambient light sensor,
There are two tinys running the same prox sensor and ALS sensor;
When the prox goes above on the 1st, the led turns on and this should fire the 2nd tiny's ALS sensor and turn on the led.
The led on the 1st tiny fades away, while the led on the second tiny stays on!
Any ideas how to tackles this ? Some ideas are to go with the flip.flop, but not sure how to get around it?
best.
Beta Was this translation helpful? Give feedback.
All reactions