Yes, yes, and yes
Yes, yes, and yes
Yes, yes, and yes
Yes, yes, and yes
Really hope you make that
Really hope you make that video explaining the code, it seems quite confusing the way you did itā¦
Sorry, but I will likely not
Sorry, but I will likely not
What confuses you, I wonder? Just overall?
Its mostly to do with the
Its mostly to do with the way that you use oldrangeright and differencerangeright. Ā Oh and what does this code do: oldrangeright = rangeright
Thanks for replying!
Say you have a variable
Say you have a variable (Example: range), and you want if it has in- or decreased. Is it getting smaller or bigger?
How would you know?
This is how: Find the place in the code (that you are writing) where the value is actually changing; For instance, when you are reading a sensor, or adding to the variable.
JUST before that line, make another variable = the āoldā value. Example, a variable called OldRange.
Let that be = Range
Now, just AFTER you have changed ārangeā (read it again, calculated somethingā¦ then you can see if āOldRangeā is > or < than range. En essense; Is Range getting smaller or bigger? (Are we moving away, or are we approachingā¦
I hope that helped
**Starting with a good relay ā¦ **
I love this idea! okay, gushing complete - next.
I started looking for some decent relayās and would love some feedback on this unit :a twin set pre mounted to a pref board.
https://www.robotshop.com/ca/productinfo.aspx?pc=RB-Dro-16&lang=en-US
Ā
Thereās only 2 there, but
Thereās only 2 there, but they look good: Important thing is that they will āclickā with the Vās you feed them. I donāt know the rest of your setup, just make sure you arenāt just feeding them 4.5V, and they need 6, you know
(From experience)