-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] A map function for rules #5189
Comments
I would put this in the Math functions category, and make it compatible with the Arduino |
@chromoxdor I've added the NB: You will need quotes around the function when used in a |
Hmm, those quotes make me a bit unhappy, so we might need to use a different argument separator, probably a colon ( |
@chromoxdor I've switched a few things:
|
@tonhuisman Wow! That was fast. |
First test where successful. |
It would be very convenient to have a map function in rules.
Something like:
Map,<variableindex>,<inputvalue>,<fromLow>, <fromHigh>,<toLow>,<toHigh>
where "map" writes the data to a variable like "let"
The text was updated successfully, but these errors were encountered: