Add Serials

This commit is contained in:
Dan Clark
2025-02-07 09:03:02 +00:00
parent 63f448f490
commit a08f86eb74
19 changed files with 270 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
using System.IO.Ports;
namespace Toolkit.Foundation;
public class SerialStreamer(SerialPort serialPort) :
ISerialStreamer
{
public Stream Create()
{
return serialPort.BaseStream;
}
}