10/02/2023
Y70 Touch Panel uses STM32L412 to control the brightness of the screen through USB. As such, it will be detected as a USB Serial Device.
This document includes the following functions for Y70 Touch Panel:
[Set Brightness]
Screen off does nothing
byte 0 | byte 1 | byte 2 | byte 3 | byte 4 |
---|---|---|---|---|
FF | CC | 01 | screen on (01)/off(00) | brightness % (0~100) |
[Get Screen Info]
Serial Write
byte 0 | byte 1 | byte 2 |
---|---|---|
FF | CC | 02 |
Serial Read
PWM Power and SATA Power have no use for now
Return 13 bytes (the rest are reserved bytes)
byte 0 | byte 1 | byte 2 | byte 3 | byte 4 | byte 5 | byte 6 |
---|---|---|---|---|---|---|
FF | CC | 02 | screen on (01)/off(00) | brightness % (0~100) | PWM Power | SATA Power |
[Save Brightness Setting]
This function will write the brightenss into eeprom, the eeprom can only be modified 10,000 times
Serial Write
byte 0 | byte 1 | byte 2 | byte 3 | byte 4 | byte 5 |
---|---|---|---|---|---|
FF | CC | 03 | 00 | brightness % (0~100) | 01 (SAVE) |
[Get Firmware Version]
Serial Write
byte 0 | byte 1 | byte 2 |
---|---|---|
FF | DD | 02 |
Serial Read
byte 0 | byte 1 | byte 2 | byte 3 | byte 4 | byte 5 | byte 6 |
---|---|---|---|---|---|---|
FF | DD | 02 | large (version) | mid | minor | hardware |
[OTA Update]
Please read the OTA document
The HYTE Y70 Protocol is provided under the terms of the GNU General Public License version 2.
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing