13 lines
680 B
Markdown

# AISU 830T Console Demo
Console Demo is a minimal logging sample that demonstrates `CardReaderApi` connection, disconnection, event subscription, and card-data output.
## Usage
1. Install `xin.aisu.card-reader-830t`.
2. Import **Console Demo** from the package's **Samples** section in Package Manager.
3. Open the imported `Scenes/SampleScene.unity` scene.
4. Set the actual COM port and UART settings in `CardReaderManager.SerialOptions`.
5. Run the scene. The sample uses `CardReaderApi.Open()` and writes connection, card, error, and disconnection messages to the Unity Console.
6. When the scene stops, the sample calls `CardReaderApi.Close()` and removes its listeners.