mirror of
https://github.com/BotChain-Robots/ui.git
synced 2026-07-08 15:07:22 +02:00
Add control library for distance sensor and display
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user