Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

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

Geschrieben

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.

Geschrieben
  • Autor

OK, so simple !

Thanks for your help.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.