Skip to content

Commit

Permalink
Merge pull request #1 from tomstammis/tomstammis-2in7
Browse files Browse the repository at this point in the history
Update config.py
  • Loading branch information
tomstammis authored Jul 30, 2020
2 parents 26c6663 + c3a4e1d commit a902a73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ def create_config(config_file=None):
from waveshare_epd import epd2in13_V2

WAVESHARE = epd2in13_V2.EPD()

# Display - Waveshare 2.7 is 264 * 176 pixels
if "waveshare2in7" in conf["atm"]["display"]:
from waveshare_epd import epd2in7

WAVESHARE = epd2in7.EPD()

# API URL for coingecko
COINGECKO_URL_BASE = "https://api.coingecko.com/api/v3/"
Expand Down

0 comments on commit a902a73

Please sign in to comment.