Commit Graph

4 Commits

Author SHA1 Message Date
Jeff Epler 9646d3f963
rainbowio: No need for the ternary here
.. mp_obj_get_float handles the case where the arg is an int already.

This saves 12 bytes of code size on trinket_m0.
2021-11-12 17:31:15 -06:00
Jeff Epler c91901dc37
rainbowio: Fix some things the unix build errors about 2021-11-12 17:31:13 -06:00
Rob Capellini 1c8828223f Convert more modules to use MP_REGISTER_MODULE
Convert neopixel_write, onewireio, ps2io, pulseio, pwmio, rainbowio, random, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, _stage, storage, struct, supervisor, synthio, touchio, traceback, usb_cdc, usb_hid, usb_midi, and vectorio modules to use MP_REGISTER_MODULE.

Related to #5183.
2021-08-30 22:29:51 -04:00
Kattni Rembor 4579bf9b12 Rename rainbow to rainbowio 2021-07-12 14:40:01 -04:00