Skip to content

Commit fdad57a

Browse files
authored
Update cyd.md
1 parent fd52c0c commit fdad57a

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

cyd.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,27 @@ Having an additional USB port would be a minor problem if that was the only diff
1717
It can be fixed in a couple of ways:
1818

1919
- Use platformio - The examples on the Github have all been updated so they can be used with platformio, and you can simply select CYD or CYD2USB and it will just work
20-
- Use the CYD2USB specific User_setup.h that is on the repo, you can now use all the examples like normal
20+
- Use the [CYD2USB specific User_setup.h](/DisplayConfig/CYD2USB/) that is on the repo, you can now use all the examples like normal
2121
- Invert the display at the code level using the `tft.invertDisplay(1);` method
2222

23-
Ideally we would just not call it a CYD, but it seems to be a very popular board, so I think it would be too confusing to not handle it.
23+
### The USB-C port doesn't work
24+
25+
The USB-C port has a flaw in it, it doesn’t have the resistors on the CC lines. This means it will not work with USB-C to USB-C cables. If your computer only has USB-C ports, you can use it through a USB-C to USB-A adaptor.
26+
27+
### The Display doesn't look as good
28+
29+
There seems to be a gamma issue with the CYD2USB (I don't even know what gamma is)
30+
31+
Adding this to the code seems to help
32+
33+
```
34+
tft.writecommand(ILI9341_GAMMASET); //Gamma curve selected
35+
tft.writedata(2);
36+
delay(120);
37+
tft.writecommand(ILI9341_GAMMASET); //Gamma curve selected
38+
tft.writedata(1);
39+
```
40+
41+
42+
43+

0 commit comments

Comments
 (0)