Commit graph

88 commits

Author SHA1 Message Date
2788c1527e set the correct pin number reading 2023-05-31 18:49:46 +02:00
d7de65ae85 fixed off by one counting 2023-05-31 18:45:17 +02:00
0ec2abb46e print the pin number and state of received mqtt message to terminal. 2023-05-31 18:37:08 +02:00
da9965cb41 expanded the esp script to send messages whenever a button is pushed OR released. 2023-05-31 18:31:16 +02:00
834bc01610 Added an eye left O drawing 2023-05-31 17:31:37 +02:00
8631e1353f make Point2D mirror function duplicate point INCLUDING color value. 2023-05-31 17:26:10 +02:00
76d26b08c8 set the imaged draws from point arrays to use color 2023-05-31 17:15:42 +02:00
552e959ed5 Added two new left eye drawings. 2023-05-31 17:15:18 +02:00
Cisco the Proot
21c7299001 uploading pre parsed images 2023-05-29 20:19:14 +01:00
7c9df0f1c0 specified working directory of cache file 2023-05-29 20:40:35 +02:00
d35fc3b1ea changed the way to call Point2D functions.
Added missing point array generation code
2023-05-29 20:34:21 +02:00
3a9be4e4ea fixed function definition in update_screen 2023-05-29 20:27:12 +02:00
568e48f95d even more bugs and typos 2023-05-29 20:26:00 +02:00
a47b167a07 all the bug fixes 2023-05-29 20:24:34 +02:00
810e6f71d2 more bug fixing. 2023-05-29 20:23:33 +02:00
39022dc18c bug fixing 2023-05-29 20:17:02 +02:00
9f5fbc1c33 Correct use of class functions 2023-05-29 20:12:42 +02:00
af11b741c9 saved ProotState.py 2023-05-29 20:09:46 +02:00
ab34ad2455 Moved ProotState to own file.
Moved Point2D to own file.
Added caching for parsed images.
2023-05-29 20:09:29 +02:00
bdcb648765 Fixed drawing mistakes in ProotScreen.
Sped up ProotScreen animation.
2023-05-23 23:02:28 +02:00
989adc603d Set prootscreen image setting to safe mode 2023-05-23 22:59:58 +02:00
35cf042ed7 bug fix in initialisation 2023-05-23 22:45:40 +02:00
20f5eb5405 Increaded ProotState definition to include used local variabels. 2023-05-23 22:44:30 +02:00
e95c47855b Split loading screen into four screens.
Added set loading screen function in the ProotState class.
2023-05-23 22:42:10 +02:00
4f37c94c22 Decrease the time between blinks. 2023-05-23 22:26:58 +02:00
3e6687ea34 Added a random blink call based on interrupts. 2023-05-23 22:24:51 +02:00
7a1c6894da Set the frame update speed back to 0.01 seconds per frame. 2023-05-23 22:16:45 +02:00
aa6ef89745 Added blink() function, and called it when message receive, and when the face is loaded. 2023-05-23 22:15:38 +02:00
a83da2c004 Fixed bug where next frame calculation of blink animation could go negative 2023-05-23 22:10:51 +02:00
903e920bef print returned frame number 2023-05-23 21:59:13 +02:00
3503474dbe Added printing and slowwed updating for debugging. 2023-05-23 21:54:14 +02:00
25c9b953bf Moved Blinking logic to the ProotState class.
Made ProotState class a singleton.
2023-05-23 21:51:06 +02:00
8dab8805e6 Removes safe mode from setting prootScreen image to canvas.
Set ProotScreen frame brightness to 100.
2023-05-23 21:09:50 +02:00
18e6964c6f convert loading image immediately to "RGB" mode 2023-05-23 21:06:35 +02:00
acf63c9b9a added the matrix as parameter to the set prootscreen function 2023-05-23 21:00:17 +02:00
dc2aa2c6d6 Added loading screen show function. 2023-05-23 20:58:43 +02:00
72afe49203 Removed old .bmp files.
Added a loading screen - ProotScreen.
Added a loading screen display function.
2023-05-23 20:58:23 +02:00
49ee35b55f Added todo's.
Added color definition to the Point2D class.
2023-05-23 20:35:58 +02:00
5180c414b7 Added the mouth and nose to be loaded and dawn with the blink animation. 2023-05-23 20:11:00 +02:00
b847c29a03 Slightly altered the eye graphics 2023-05-23 20:04:29 +02:00
e0df3b2e68 Cleaned up imports 2023-05-23 19:53:06 +02:00
50d46eae2f Increased timer granularity to ms 2023-05-23 19:51:52 +02:00
215028dad9 Added another timer for configuring matrix 2023-05-23 19:49:26 +02:00
a5246021f9 Added timing function to each step of precomputing the animations.
Added ProotState class and functions to structure and abstract blinking logic.
2023-05-23 19:45:50 +02:00
3bf5083b99 Added typing to all funtions.
Added a pixel mirror function and trying to print both eyes now.
2023-05-23 19:22:02 +02:00
c7d9d9a537 Added individual face features, and testing antrender morph on the left eye only 2023-05-23 18:51:19 +02:00
03c938c1fe bug fix 2023-05-22 23:00:10 +02:00
22a25532ba added new render mode test, and added code for the esp to handle multiple pin shorts 2023-05-22 21:41:27 +02:00
57917505ed cleaned up last remaining bugs in the test. now also setting very last frame 2023-05-21 23:56:30 +02:00
ae796b5c20 test 2023-05-21 23:54:02 +02:00