Blinking


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

Blinking<A, B, BLINK_MILLIS, BLINK_PROMILLE>
BlinkingX<A, B, BLINK_MILLIS_FUNC, BLINK_PROMILLE_FUNC>
BlinkingL<B, BLINK_MILLIS_FUNC, BLINK_PROMILLE_FUNC>

Arguments 🔗

Description 🔗

Switches between A and B. A full cycle from A to B and back again takes BLINK_MILLIS milliseconds. If BLINK_PROMILLE is 500, we select A for the first half and B for the second half. If BLINK_PROMILLE is smaller, we get less A and more B. If BLINK_PROMILLE is 0, we get all B. If BLINK_PROMILLE is 1000 we get all A.

See Also 🔗

Int

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/styles/blinking.h#L6