Dan Halbert
c4ed2ec643
handle no Display.auto_brightness
2022-08-10 13:37:26 -04:00
foamyguy
31eee18628
rename variable and use .formata() instead of percent string substitution
2022-06-24 17:31:23 -05:00
Peter Baker
275e0133f0
Formatted Using Black
2022-06-20 21:42:22 -04:00
Peter Baker
805c03c044
Corrected spelling errors, rearranged code for readability, and simplified many operations
2022-06-19 16:55:28 -04:00
Tom Paine
f414fb9ec2
Update code.py
...
Fixes blank screen/barely legible text on Titano
2022-03-21 21:22:58 +00:00
dherrada
8b92791d2b
Added SPDX to 30 more files - spdx-46
2022-02-23 14:25:11 -05:00
foamyguy
e5ef94791b
pyportal interface cp7 updates
2021-08-03 07:50:34 -05:00
foamyguy
874a063f7d
fixes for pixel_shader update with OnDiskBitmap TileGrids
2021-07-10 12:59:00 -05:00
foamyguy
78916d6bc6
remove deprecated button api use
2021-01-19 20:16:07 -06:00
Coding
fed2fd6b2c
Fix typo
...
In a comment, change "spalsh" to splash".
2020-12-31 09:25:03 -08:00
Dan Halbert
ede05baf89
remove trailing spaces
2020-04-25 11:16:08 -04:00
David Glaude
80ecec9d8c
No rounding of the variable...
...
Rounding at display time to preserve precision.
2020-04-25 16:37:20 +02:00
David Glaude
8d75f1073f
rounding temperature as last operation
...
To avoid loosing precision the rounding should take place after the conversion from Centigrade to Fahrenheit.
I also believe that this conversion is present in one or some CP library, so it could be reused.
WARNING: code not tested
(well I compared the math on another board)
2020-04-25 16:04:10 +02:00
FoamyGuy
e77fed2a71
use the cpu temperature if sensor is not present.
2020-04-12 14:14:20 -05:00
FoamyGuy
ffb8f9b039
fallback if we don't have the temperature sensor
2020-04-08 21:03:46 -05:00
Richard Albritton
49a0f69c18
Fixing string text spacing issue.
...
All of the spaces added to string text after ``\`` was carried over to the display.
2020-01-31 14:50:47 -08:00
Anne Barela
a36c4adf70
Break up long lines
...
See https://stackoverflow.com/questions/2058925/how-can-i-break-up-this-long-line-in-python for techniques
2020-01-31 13:10:08 -05:00
Anne Barela
7e6af491b6
fix pylint issues
2020-01-31 12:47:26 -05:00
Richard Albritton
3e5afc978a
Fixes for Pull Request #1011
2020-01-31 09:13:58 -08:00
Richard Albritton
43acc240e3
Update code.py
2020-01-30 17:37:39 -08:00
Richard Albritton
80d1e6abc5
Add files via upload
...
Guide code and files for PyPortal User Interface.
2020-01-30 17:10:45 -08:00