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
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
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
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
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
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
cuu
2110daf074
Merge branch 'main' into thermal_fix1
2022-06-05 19:26:56 +08:00
Dennis Heynlein
128473e5fd
add devterm-wiringpi-cpi to apt install.
...
missing gpio-tool under Armbian.
2022-05-31 21:23:15 +02:00
cuu
b68b6bf787
Merge branch 'thermal_fix1' of https://github.com/clockworkpi/DevTerm into thermal_fix1
2022-05-23 23:23:31 -05:00
cuu
a342f7532e
add accelerate for thermal printer
2022-05-23 23:23:07 -05:00
cuu
24f09a1781
update devterm R01 wiringPi patch
2022-05-22 11:09:40 +08:00
cuu
7a6c896cb6
Merge remote-tracking branch 'origin/main' into thermal_fix1
2022-05-22 10:21:48 +08:00
cuu
682c67aabb
update devtem-socat.sh
2022-05-22 10:20:25 +08:00
cuu
007ac586ba
IsPaper fix
2022-05-21 23:56:29 +00:00
cuu
c30acbcec5
add ENABLE_VH in print_lines_ft
2022-05-21 11:52:46 +00:00
cuu
167b2f520e
test thermal code
2022-05-21 05:57:03 +00:00
cuu
84b4b352da
add scr in readme
2022-04-28 16:42:51 +08:00
cuu
25da099726
add scr in readme
2022-04-28 16:41:54 +08:00
cuu
95da2f808e
add devterm r01 screenshot
2022-04-28 16:39:08 +08:00
cuu
f5efe5368a
add comments for r01 readme
2022-04-28 16:34:10 +08:00
cuu
d33384c7c7
add comments for r01 readme
2022-04-28 16:33:11 +08:00
cuu
42c5605264
add R01 twm config files
2022-04-28 16:30:03 +08:00
Steven Boger
7551b0a880
Update README
2022-04-23 19:48:20 -07:00