Add control library for distance sensor and display

This commit is contained in:
Johnathon Slightham
2026-03-04 07:55:35 -05:00
parent aad4b7654d
commit 6f63629119
4 changed files with 49 additions and 12 deletions

View File

@@ -19,6 +19,12 @@ public class ControlLibrary : MonoBehaviour
[DllImport("libc_control")]
private static extern IntPtr get_configuration(out int module_id); // the data this points to will be invalidated when called again
[DllImport("libc_control")]
public static extern int send_string_control(int module_id, string s);
[DllImport("libc_control")]
public static extern double get_distance_control(int module_id);
[DllImport("libc_control")]
public static extern bool control_sentry_init(
string dsn,