From 7b1fdb42e71f73c7380b4d0233442e17fe63a1c9 Mon Sep 17 00:00:00 2001 From: Nathan Kellenicki Date: Tue, 14 Sep 2021 19:22:54 -0700 Subject: [PATCH] Support for Technic Small Hub and Technic Small Angular Motor --- src/hubs/technicsmallhub.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hubs/technicsmallhub.ts b/src/hubs/technicsmallhub.ts index b90fdf3..23ada3f 100644 --- a/src/hubs/technicsmallhub.ts +++ b/src/hubs/technicsmallhub.ts @@ -53,5 +53,8 @@ export const PortMap: {[portName: string]: number} = { "B": 1, "HUB_LED": 49, "CURRENT_SENSOR": 59, - "VOLTAGE_SENSOR": 60 + "VOLTAGE_SENSOR": 60, + "ACCELEROMETER": 97, + "GYRO_SENSOR": 98, + "TILT_SENSOR": 99 };