Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

CLUE LEDs (White and Red) #298

Merged
merged 24 commits into from
Apr 9, 2020
Merged

CLUE LEDs (White and Red) #298

merged 24 commits into from
Apr 9, 2020

Conversation

vandyliu
Copy link
Contributor

@vandyliu vandyliu commented Apr 6, 2020

AB#34437
With @xnkevinnguyen

Description:

  • Added functionality for White LEDs (two on front) and Red LED (one on back).
    On:
    LEDs on
    Off:
    LEDs off

*Testing code for blinking red leds and white

from adafruit_clue import clue
import time


temp = True
while True:

    clue.white_leds = temp
    clue.red_led = temp
    time.sleep(0.1)
    temp = not temp

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Limitations:

Please describe limitations of this PR

Testing:

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • My code has been formatted with npm run format and passes the checks in npm run check
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@vandyliu vandyliu marked this pull request as ready for review April 8, 2020 18:30
@vandyliu vandyliu changed the title WIP: CLUE LEDs (White and Red) CLUE LEDs (White and Red) Apr 8, 2020
Copy link
Contributor

@isadorasophia isadorasophia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! :D Thanks for the test script.

Copy link
Contributor

@andreamah andreamah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 💖

@xnkevinnguyen xnkevinnguyen merged commit 87897bd into dev Apr 9, 2020
@xnkevinnguyen xnkevinnguyen deleted the users/t-vali/clue-leds branch April 9, 2020 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants