Groudaut Posted February 23, 2024 at 06:25 PM Share Posted February 23, 2024 at 06:25 PM 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 Quote Link to comment Share on other sites More sharing options...
MatzeTF Posted February 26, 2024 at 10:18 AM Share Posted February 26, 2024 at 10:18 AM 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. Quote Link to comment Share on other sites More sharing options...
Groudaut Posted February 26, 2024 at 10:49 AM Author Share Posted February 26, 2024 at 10:49 AM OK, so simple ! Thanks for your help. Quote Link to comment Share on other sites More sharing options...
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.