Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usausa/turing-smart-screen
Turing Smart Screen library for .NET.
https://github.com/usausa/turing-smart-screen
csharp dotnet-core dotnet-global-tool dotnet-global-tools dotnetcore serialport turing-smart-screen
Last synced: about 2 months ago
JSON representation
Turing Smart Screen library for .NET.
- Host: GitHub
- URL: https://github.com/usausa/turing-smart-screen
- Owner: usausa
- License: mit
- Created: 2021-12-24T07:17:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-14T10:48:29.000Z (7 months ago)
- Last Synced: 2024-09-23T09:14:19.793Z (4 months ago)
- Topics: csharp, dotnet-core, dotnet-global-tool, dotnet-global-tools, dotnetcore, serialport, turing-smart-screen
- Language: C#
- Homepage:
- Size: 392 KB
- Stars: 38
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TuringSmartScreenLib
| Package | Info | Description |
|-|-|-|
| TuringSmartScreenLib | [![NuGet Badge](https://buildstats.info/nuget/TuringSmartScreenLib)](https://www.nuget.org/packages/TuringSmartScreenLib/) | Core |
| TuringSmartScreenLib.Helpers.SkiaSharp | [![NuGet Badge](https://buildstats.info/nuget/TuringSmartScreenLib.Helpers.SkiaSharp)](https://www.nuget.org/packages/TuringSmartScreenLib.Helpers.SkiaSharp/) | Helpers |## What is this?
* Turing Smart Screen controller library.
## Usage
```csharp
using SkiaSharp;using TuringSmartScreenLib;
using TuringSmartScreenLib.Helpers.SkiaSharp;using var screen = ScreenFactory.Create(ScreenType.RevisionB, "COM10");
screen.SetBrightness(100);
screen.Orientation = ScreenOrientation.Landscape;using var bitmap = SKBitmap.Decode(File.OpenRead("genbaneko.png"));
var buffer = screen.CreateBufferFrom(bitmap);screen.DisplayBuffer(0, 0, buffer);
```# TuringSmartScreenTool
CLI for turing smart screen.
## Install
```
> dotnet tool install -g TuringSmartScreenTool
```## Usage
```
> tsstool reset -r a -p COM10
> tsstool clear -r a -p COM10
> tsstool on -p COM10
> tsstool off -p COM10
> tsstool bright -p COM10 -l 192
> tsstool image -p COM10 -f genbaneko.png
> tsstool fill -p COM10 -c ff0000
> tsstool text -p COM10 -t TEST -x 80 -y 40 -s 96 -f Arial -c ff0000 -b 0000ff
```