Groudaut Geschrieben February 23, 2024 at 18:25 Geschrieben February 23, 2024 at 18:25 Hello, First of all, I'm beginner with python and tinkerforge brick/briklet. I have a system with hat brick + 2 IMU V3 Bricklet + 1 GPS V3 bricklet. My script run well to acquire data and do what I want, which is a good thing. But, I can't manage to set the status led config for IMU(s). I would like to set the led to heartbeat when my system is recording but I can't manage to do it. I tried this after ipcon.connect(...) : BrickletIMUV3.set_status_led_config(2) It gives me this error : TypeError: set_status_led_config() missing 1 required positional argument: 'config' Does some one could help me for this ? Thanks in advance Zitieren
MatzeTF Geschrieben February 26, 2024 at 10:18 Geschrieben February 26, 2024 at 10:18 You have to call "set_status_led_config(2)" on the IMU object you created before. You probably have something like this in your code: imu = BrickletIMUV3(UID, ipcon) Afterwards, set the LED config like this: imu.set_status_led_config(2) Have a look at one of the IMU examples and note how "get_quaternion()" is used on the "imu" object. Zitieren
Groudaut Geschrieben February 26, 2024 at 10:49 Autor Geschrieben February 26, 2024 at 10:49 OK, so simple ! Thanks for your help. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.