visser:
Anyways, moving on, do arrays in arduino let you access array functions? or do you need to loop through values to change/find elements(idk if that made sense or not).
OK, back on topic then. ![]()
It helps to be clear about your requirements, because then the answers can be more useful.
... do arrays in arduino ...
Let's get this part straight. Arduino uses C++. So you really are asking: "do arrays in C++ ..."?
There are a lot of good tutorials about C++ on the Internet. You can even work through a lot of that on your PC/Mac without having to even program a board, although there will be some differences. Differences simply because a microcontroller doesn't have a file system, stdin, stdout and so on.
I'm not sure what you mean by "access array functions". You can store functions in an array, if that's what you mean. You can do practically anything, whether or not it is a good idea is another thing.
I am trying to use the preference/attribute system to trigger tasks
Perhaps if you describe this - the real requirement - in more detail. We won't be impressed by a lot of technical jargon. What is impressive is a clear statement of what you are hoping to achieve.
Purely as an example:
I want to read three light sensors and three pressure sensors to make a burglar alarm. The amount of pressure, and amount of light, needed to trigger the alarm needs to be configurable. The alarm needs to operate during some hours and not others, also configurable. I am planning to arm/disarm it with an infrared remote.
We can help with that sort of stuff. And hey, we want to encourage youngsters to get involved.