Skip to content

Business card update #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 6, 2019
Merged

Conversation

kattni
Copy link
Contributor

@kattni kattni commented Jul 3, 2019

Added email display functionality to show_business_card, and changed data in show_qr_code to a string from a bytearray. Updated examples to be accurate and more thorough.

@kattni kattni requested a review from makermelissa July 3, 2019 20:20
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

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

The only other thing is that the business_card function only works in 4.1 Beta.

@@ -61,17 +61,17 @@ from adafruit_pybadger import PyBadger
pybadger = PyBadger()

while True:
pybadger.show_badge(hello_scale=2, my_name_is_scale=2, name_scale=3)
pybadger.show_badge(name_string="Blinka", hello_scale=2, my_name_is_scale=2, name_scale=3)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would recommend moving show_badge and auto_dim out of the loop and then allowing something like pressing the start button to switch back to badge mode.

email_label.color = 0xFFFFFF
email_group.append(email_label)
business_card_splash.append(email_group)
time.sleep(dwell)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not entirely sure of the point of the automatically sleep for 20 seconds is. If this is for the purposes of the simepletest, would it be more useful to put it in the simpletest itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I realised earlier that I need to make the code non-blocking, but didn't have the time to do so yet. Please do not merge until I have done that - I'll get to it this evening.

@ladyada ladyada merged commit cf55921 into adafruit:master Jul 6, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 11, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 1.4.3 from 1.4.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#60 from brentru/make-esp-object-public

Updating https://github.com/adafruit/Adafruit_CircuitPython_PyBadger to 0.8.0 from cf55921:
  < Merge pull request adafruit/Adafruit_CircuitPython_PyBadger#3 from kattni/business-card-update

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_PyBadger
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 12, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 1.5.0 from 1.4.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#29 from martymcguire/mm-chunk-socket-sends

Updating https://github.com/adafruit/Adafruit_CircuitPython_SI4713 to 1.1.3 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_SI4713#7 from caternuson/iss2_rds

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Button to 1.1.2 from 1.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#8 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_PyBadger to 0.9.0 from 0.8.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_PyBadger#3 from kattni/business-card-update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants