Commit Graph

3723 Commits

Author SHA1 Message Date
13bedbc834 adding 3 new displays
gamepi15
gamepi20
spotpear154lcd
2024-11-25 19:56:16 -05:00
c67915af00 Merge pull request #228
Display hat mini drivers for pwnagotchi
2024-11-25 17:56:15 +01:00
131bfc4c1c Display drivers for pwnagotchi
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
Display support for the following screens:
- [Pimoroni GFX Hat](https://shop.pimoroni.com/products/gfx-hat?variant=12828343631955):
ui.display.type = "gfxhat"
Contrast and Backlight color can be imported from config.toml:
ui.display.contrast = 40
ui.display.blcolor = "olive"
Available backlight colors:
white, grey, maroon, red, purple, fuchsia, green,
lime, olive, yellow, navy, blue, teal, aqua
- [Adafruit miniPiTFT](https://www.adafruit.com/product/4484):
ui.display.type = "minipitft"
- [Adafruit miniPiTFT2](https://www.adafruit.com/product/4393):
ui.display.type = "minipitft2"
- [ArgonPod](https://argon40.com/products/pod-display-2-8inch):
ui.display.type = "argonpod"
- [DisplayHatMini](https://shop.pimoroni.com/products/display-hat-mini?variant=39496084717651):
Driver updated to fix issues
- I2C Oled:
Default I2C address changed to 0x3C, because most boards are coming with it by default.
Can be modified in config
ui.display.type = "i2coled"
ui.display.i2c_addr = 0x3C
ui.display.width = 128
ui.display.height = 64

## Motivation and Context
Future plan for LCD and OLED screens:
Change from the pwnagotchis hw libraries for drivers to LumaOLED LumaLCD packages.
Luma Core: https://github.com/rm-hull/luma.core
Luma LCD: https://github.com/rm-hull/luma.lcd
Luma OLED: https://github.com/rm-hull/luma.oled
It has the most used LCD and OLED drivers ready, and adding new screens could be easier in the future.

## How Has This Been Tested?
Except the argonpod and minipitft2 all screens were tested on previous builds,
should work in 2.9.2, but before release I would like to test it with an image.

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I've read the [CONTRIBUTION](https://github.com/evilsocket/pwnagotchi/blob/master/CONTRIBUTING.md) guide
- [x] I have signed-off my commits with `git commit -s`
2024-11-25 17:37:21 +01:00
d21c2cb30c Update package requirements
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-24 09:17:05 +01:00
90d1e33eb3 Update package requirements
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-24 09:06:13 +01:00
b9b5ae2fc8 Make pi restart when there are 5 blind epochs instead of 50.
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-24 00:19:32 +01:00
8fba99fa08 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 14:13:23 +01:00
c918b620a8 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 14:12:53 +01:00
6c3e5229ea Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 13:41:38 +01:00
3486020e54 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 13:41:17 +01:00
29ecad81cd Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 14:46:17 +01:00
489deb09d7 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 14:02:09 +01:00
42d1f92e02 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 14:01:38 +01:00
99f75bf5eb Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 13:17:30 +01:00
4918b9a921 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:52:09 +01:00
f55a08609d Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:51:02 +01:00
4a2b8e71a3 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:50:05 +01:00
4fb7752493 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:40:58 +01:00
e9b4667ffc Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 08:01:59 +01:00
ccf491a5dc Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-20 13:46:36 +01:00
c47fb379cb Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-20 13:39:45 +01:00
1d216a959c Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-19 19:43:11 +01:00
7108edc2ad Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-19 19:38:35 +01:00
3bfa73087c Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-19 19:37:01 +01:00
fa154ee279 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-18 07:54:50 +01:00
34700dd30b Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:56:10 +01:00
dda8f24904 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:52:03 +01:00
89103257ea Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:13:24 +01:00
76045b3564 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:09:54 +01:00
e04badc254 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 20:04:18 +01:00
32cea62999 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-19 13:46:48 +02:00
2b0824c8ab Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 23:32:08 +02:00
4a076bd229 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 23:21:27 +02:00
d5ef7dc303 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 23:19:25 +02:00
f21998214b Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 22:16:25 +02:00
d0f4796265 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 22:06:11 +02:00
e582925a8f Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-15 18:20:04 +02:00
111f871ea2 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-15 18:19:58 +02:00
4393854718 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-14 20:07:25 +02:00
ccce288182 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-14 19:02:05 +02:00
deefada29c Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-12 21:55:41 +02:00
28c1e112c8 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:23:54 +02:00
a45fd4627b Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:23:10 +02:00
164755590f Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:18:58 +02:00
ae2c0e3db4 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:18:30 +02:00
13515dfa98 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:14:25 +02:00
af632abc63 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:13:31 +02:00
4029b2ffa0 Merge pull request #203 from Sniffleupagus/usr1-save-recovery
add mode parameter to agent._restart, and call agent._restart from US…
2024-09-08 21:04:46 +02:00
32d244ec6f add mode parameter to agent._restart, and call agent._restart from USR1 handler instead of pwnagotchi.restart() 2024-09-08 19:25:09 +01:00
Rai
79e141320c Merge pull request #202 from quymdh/dev-q
Update: agent.py, train.py
2024-08-31 04:37:15 +10:00