230 Commits

Author SHA1 Message Date
cuu
4f1b329202 add cm4 Adapter schematic 2023-06-28 10:41:00 +08:00
cuu
638978d29e devterm_keyboard_mini backlight adjust 2023-06-14 13:43:33 +12:00
cuu
6058dcda0d uconsole keyboard fix 2023-06-08 21:14:50 +12:00
cuu
558d81bee4 Merge remote-tracking branch 'origin/main' 2023-06-08 01:46:30 +12:00
cuu
afbc75e2cc make trackball button press became middle mouse key 2023-06-08 01:45:54 +12:00
cuu
071fd8908a add uconsole keyboard firmware 2023-06-07 16:09:00 +08:00
cuu
a3e3e94949 Merge remote-tracking branch 'origin/main' 2023-04-29 13:58:54 +12:00
cuu
88a16de7e0 bug fix,backlight adjustment 2023-04-29 13:58:14 +12:00
GNU
9af67ceae0
Merge pull request #52 from msizov/feature/grayprint
Add thermal_printer command to print images using 4 colors.
2023-04-18 09:42:02 +08:00
Mike Sizov
6fc08fded2 Add command for printing 4 shades of grayscale image.
It works in a similar way as a monochrome print, but with few differences:
1. User needs to send 3 rows of color bitstrings for each image row.
2. Printer will stay in place while printing all 3 non-white 'colors',
it will feed the paper each third line.
3. User must multiply height by 3.
4. Command is different: cmd[0] == ASCII_GS && cmd[1] == 118 && cmd[2] == 49

E.g.
For image 200x200, user needs to send header with width 200, height 600.
Image data is arranged the following way (fourth color is blank):
25 bytes (200bits) of 1st color for first row
25 bytes (200bits) of 2nd color for first row
25 bytes (200bits) of 3rd color for first row
25 bytes (200bits) of 1st color for second row
25 bytes (200bits) of 2nd color for second row
...etc...
2023-04-17 00:44:13 +07:00
cuu
83f337fb3d switch order of DELETE and ENTER key 2023-04-14 16:12:33 +12:00
cuu
29beeb6869 bug fix 2023-04-14 16:06:09 +12:00
GNU
3ef60f89d8
Merge pull request #50 from yatli/cherry-upstream
wiringPi: allow external pins in pinMode, digitalRead, digitalWrite
2023-04-10 19:59:42 +08:00
Yatao Li
9845efcc45 wiringPi: allow external pins in pinMode, digitalRead, digitalWrite 2023-04-10 18:39:52 +08:00
cuu
396c913f96 bug fix,tested on real uConsole 2023-04-01 19:38:26 +13:00
cuu
24dd0c6a8a fix 2022-11-13 14:00:36 +08:00
cuu
64330ea01f fix 2022-11-13 13:55:29 +08:00
cuu
2204b6dfd4 add more keys to lock 2022-11-13 13:30:51 +08:00
cuu
521c5f0441 add patched devterm keyboard bin hex files 2022-11-11 13:49:13 +08:00
cuu
442ee46621 add patch for keyboard 2022-11-11 13:39:37 +08:00
cuu
ce4b765fea add ctrl lock mode 2022-10-29 20:38:46 +08:00
cuu
a802c1ad3b mini keyboard pause timer when duty cycle is 0 2022-10-13 09:02:24 +08:00
cuu
81d40799b5 mini keyboard bug fix 2022-10-12 22:34:18 +08:00
cuu
1c023901a7 add keys,keyboard actions for mini keyboard 2022-10-11 21:06:57 +08:00
cuu
6ee33ba535 Add mini keyboard b1-b16 mapping 2022-10-08 15:50:34 +08:00
cuu
54a9333747 add devterm_keyboard_mini init code 2022-10-07 19:40:58 +08:00
cuu
24d160c64b remove wrong bin file 2022-09-20 17:10:52 +08:00
cuu
2c31199f2a undo dfu mode fix code 2022-09-20 17:10:18 +08:00
cuu
0c8b8d30fa DFU Mode bug fix 2022-09-20 16:29:09 +08:00
cuu
569edf281e add gitignore 2022-09-04 21:38:12 +08:00
cuu
b826552d3d add demo volume code 2022-09-04 21:02:32 +08:00
cuu
548957a344 add hacked keyboard stm32duino bootloader files 2022-08-21 15:00:25 +08:00
cuu
7f8165ee80 add hacked keyboard firmware 2022-08-21 14:57:13 +08:00
cuu
182dedb675 devterm-printer.service add Restart=on-failure 2022-07-28 14:19:15 +08:00
cuu
9d324569c2 devterm cm4 kernel patch 2022-07-10 11:15:18 +08:00
cuu
0a86b0f311 add cm4 wiringpi patch 2022-06-29 13:45:13 +01:00
cuu
f079029294 add CM4 in thermal_printer 2022-06-29 13:43:51 +01:00
GNU
668e3295ff
Merge pull request #37 from kemenril/main
Took out a state variable that didn't end up being used.
2022-06-24 12:54:11 +08:00
cuu
d27d6b31aa thermal_printer bug fix,print_lines8 cfg null check logic bug 2022-06-22 14:49:05 +00:00
Chris Smith
f86efc8a38 Took out a state variable that didn't end up being used. 2022-06-12 03:34:15 +00:00
GNU
1649eb7202
Merge pull request #36 from kemenril/main
A06 fan control updates
2022-06-11 20:40:11 +08:00
Chris Smith
45b4a6d078 Changed the an control so that it considers every thermal zone separately, rather than just kind of wrongly lumping them all together and possibly getting the temperature values a bit confused. Added some log messges. Added function to read the fan state from GPO and made the control function use that rather than guess whether the fan is on. 2022-06-10 05:46:20 +00:00
Chris Smith
6765b86f86 Added cooldown threshold in separate variable. Fixed bug where state change might happen twice on one loop iteration. 2022-06-10 02:33:45 +00:00
Chris Smith
d119b30d56 New fan_loop function which starts the fan when the temperature reaches the threshold and doesn't stop it until the temperatue is a bit lower than the threshold. Also lowered the threshold a bit. 2022-06-10 00:30:30 +00:00
GNU
4664328eaf
Merge pull request #35 from c-logic/main
kick external gpio-tool
2022-06-08 19:26:14 +08:00
cuu
5e4b3aeb32 add R01 schematic 2022-06-08 09:15:41 +08:00
Dennis Heynlein
2204a04f37
Update README.md 2022-06-07 23:29:00 +02:00
Dennis Heynlein
525dec0864
Update temp_fan_daemon_a06.py
kick external gpio-tool
2022-06-07 23:26:38 +02:00
cuu
25d70e43f9 Merge branch 'thermal_fix1' 2022-06-05 19:28:57 +08:00
cuu
bdb60a88c2 Merge remote-tracking branch 'origin/thermal_fix1' into thermal_fix1 2022-06-05 19:27:56 +08:00