Added gyroscope thing

This commit is contained in:
Pascal Serrarens 2025-04-09 17:46:08 +02:00
parent 6d58b741e1
commit 05d4a2acd9

View File

@ -35,6 +35,7 @@ namespace RoboidControl {
/// <param name="networkId">The network ID of the thing</param>
/// <param name="thing">The thing</param>
public ThingMsg(byte networkId, Thing thing) {
System.Console.Write($"ThingMsg [{networkId}/{thing.id}] {thing.type}");
this.networkId = networkId;
this.thingId = thing.id;
this.thingType = thing.type;
@ -83,6 +84,7 @@ namespace RoboidControl {
buffer[ix++] = this.thingId;
buffer[ix++] = this.thingType;
buffer[ix++] = this.parentId;
System.Console.Write("ThingMsg sent");
return ThingMsg.length;
}
}