I think I'm all set now. I also created a triple int picker because why not. (see attachments) I don't think I can make more than 3 columns though because the screen is not that big.
The result looks pretty similar to the "stock" picker. I also added the possibility to add custom separators like : for times and / for dates. (who knows, maybe soccer players will use - to input a score for example)
In code it can be used quite easily with a syntax that is very similar to the stock one:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks, that's indeed more elegant.
I think I'm all set now. I also created a triple int picker because why not. (see attachments) I don't think I can make more than 3 columns though because the screen is not that big.
The result looks pretty similar to the "stock" picker. I also added the possibility to add custom separators like
:
for times and/
for dates. (who knows, maybe soccer players will use-
to input a score for example)In code it can be used quite easily with a syntax that is very similar to the stock one:
Next order of business is to whip a MR :)
2 Attachments