Skip to content

Orientation Example #8

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 3 commits into from
Mar 15, 2020
Merged

Orientation Example #8

merged 3 commits into from
Mar 15, 2020

Conversation

RichardA1
Copy link
Contributor

Adding a basic example showing how to change the orientation of the touchscreen to mach reorientation of the display.

Adding a basic example showing how to change the orientation of the touchscreen to mach reorientation of the display.
@ladyada
Copy link
Member

ladyada commented Feb 3, 2020

needs' a little linting and we'll merge!

pylint didn't like using comments to turn on/off the different rotations. I've switched it to a variable with if statements.
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

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

Tested all 4 orientations successfully on PyPortal.

@FoamyGuy FoamyGuy requested a review from a team March 15, 2020 17:10
@ladyada ladyada merged commit 226dca4 into adafruit:master Mar 15, 2020
@ladyada
Copy link
Member

ladyada commented Mar 15, 2020

yay thanks :)

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 24, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_APDS9960 to 2.1.0 from 2.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_APDS9960#21 from adafruit/pylint-update
  > update build.yml to pip install pylint black sphinx
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_APDS9960#20 from sommersoft/patch_coc_2

Updating https://github.com/adafruit/Adafruit_CircuitPython_HCSR04 to 0.4.0 from 0.3.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_HCSR04#18 from adafruit/pylint-update
  > update build.yml to pip install pylint black sphinx
  > update example file pylint
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_HCSR04#17 from sommersoft/patch_coc_2

Updating https://github.com/adafruit/Adafruit_CircuitPython_HT16K33 to 4.1.0 from 4.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#73 from adafruit/pylint-update
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#71 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_IL91874 to 1.1.0 from 1.0.3:
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_IL91874#9 from sommersoft/patch_coc
  > Merge pull request adafruit/Adafruit_CircuitPython_IL91874#8 from adafruit/pylint_update

Updating https://github.com/adafruit/Adafruit_CircuitPython_L3GD20 to 2.2.0 from 2.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_L3GD20#17 from adafruit/pylint-update
  > update build.yml to pip install pylint black sphinx
  > update example file pylint
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_L3GD20#16 from sommersoft/patch_coc_2

Updating https://github.com/adafruit/Adafruit_CircuitPython_RockBlock to 1.1.0 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_RockBlock#6 from adafruit/pylint-update
  > update build.yml to pip install pylint black sphinx
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_RockBlock#5 from sommersoft/patch_coc_2

Updating https://github.com/adafruit/Adafruit_CircuitPython_SHT31D to 2.3.0 from 2.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_SHT31D#17 from adafruit/pylint-update
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_SHT31D#16 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1675 to 1.1.0 from 1.0.2:
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1675#6 from adafruit/pylint_update
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1675#7 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_Thermal_Printer to 1.2.0 from 1.1.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_Thermal_Printer#15 from adafruit/pylint-update
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_Thermal_Printer#14 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_Touchscreen to 1.1.0 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Touchscreen#10 from adafruit/pylint-update
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_Touchscreen#8 from RichardA1/master
  > Merge pull request adafruit/Adafruit_CircuitPython_Touchscreen#9 from sommersoft/patch_coc
  > update pylintrc for black
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE_BroadcastNet to 0.9.0 from 0.8.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE_BroadcastNet#6 from adafruit/pylint-update
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE_BroadcastNet#5 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_BoardTest to 1.2.0 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BoardTest#11 from adafruit/pylint-update
  > update code of coduct: discord moderation contact section
  > Merge pull request adafruit/Adafruit_CircuitPython_BoardTest#10 from sommersoft/patch_coc
  > update pylintrc for black
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Button to 1.3.0 from 1.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#18 from adafruit/pylint-update
  > update build.yml to pip install pylint black sphinx
  > update example file pylint
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#17 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes to 1.3.0 from 1.2.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Shapes#12 from adafruit/pylint-update
  > update build.yml to pip install pylint black sphinx
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Shapes#11 from sommersoft/patch_coc

Updating https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation to 1.1.0 from 1.0.1:
  > update example file pylint
  > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#15 from sommersoft/patch_coc
  > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#14 from adafruit/pylint-update
  > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#12 from dglaude/patch-1
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