Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Update displays
Browse files Browse the repository at this point in the history
  • Loading branch information
jayofelony committed Dec 25, 2023
1 parent 3efd129 commit dd7c1d7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions pwnagotchi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def restart(mode):
os.system("touch /root/.pwnagotchi-manual")

os.system("service bettercap restart")
time.sleep(2)
os.system("service pwnagotchi restart")


Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in7.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V1 2.7 inch display")
logging.info("initializing waveshare V1 2.7 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in7.epd2in7 import EPD
self._display = EPD()
self._display.init()
Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in7_V2.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V2 2.7 inch display")
logging.info("initializing waveshare V2 2.7 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in7_v2.epd2in7_V2 import EPD
self._display = EPD()
self._display.init()
Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in7b.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V1 2.7 inch display")
logging.info("initializing waveshare V1 2.7b inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in7b.epd2in7b import EPD
self._display = EPD()
self._display.init()
Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in9.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V1 2.9 inch display")
logging.info("initializing waveshare V1 2.9 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in9.epd2in9 import EPD
self._display = EPD()
self._display.init(self._display.lut_full_update)
Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in9_V2.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V2 2.9 inch display")
logging.info("initializing waveshare V2 2.9 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in9_v2.epd2in9V2 import EPD
self._display = EPD()
self._display.init()
Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in9b_V3.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V3 2.9 inch display")
logging.info("initializing waveshare V3 2.9 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in9b_v3.epd2in9b_V3 import EPD
self._display = EPD()
self._display.init()
Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/ui/hw/waveshare2in9b_V4.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def layout(self):
return self._layout

def initialize(self):
logging.info("initializing waveshare v2in13_V4 2.9 inch display")
logging.info("initializing waveshare V4 2.9 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in9b_v4.epd2in9b_V4 import EPD
self._display = EPD()
self._display.init()
Expand Down

0 comments on commit dd7c1d7

Please sign in to comment.