dstroy0 / InputHandler

Arduino input handler
https://dstroy0.github.io/InputHandler/
GNU General Public License v3.0
1 stars 0 forks source link

factor bloat code #26

Closed dstroy0 closed 2 years ago

dstroy0 commented 2 years ago

starting with addCommand.

dstroy0 commented 2 years ago

addCommand slimmed down

dstroy0 commented 2 years ago

listSettings slimmed down, added pertinent info from InputHandler_config.h

dstroy0 commented 2 years ago

validateUserInput factored

dstroy0 commented 2 years ago

Give users a way to exclude optional methods, in config, this should make pgm space more granular which is in line with the spirit of the rest of the lib.

readCommandFromStream listSettings listCommands

dstroy0 commented 2 years ago

This is mostly complete, there are a couple of repetitive lines in getToken's subfuncs I don't know if they should be functionalized.

dstroy0 commented 2 years ago

There's nothing bulky in src/