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

Hi,

 

In the version 2.0 of the IO-4 bricklet we have lost the ability to have an interrupt from any of the inputs. 

 

This is viewed as an 'improved' API but it seems that simple interrupts can be very useful in a number of scenarios.  I was using the older IO-4 bricklet to interface with a low frequency flow meter and it's hard to replicate a similar system now with the new bricklet.

 

Will the original bricklet be discontinued at some point ?

 

Is there any way of adding interrupt capability to the new bricklet ?

 

Will the IO-16 board go the same way ?

 

Thanks

Geschrieben

What exactly do you mean by "interrupt from any of the inputs"? There should be no functionality lost with the new API.

 

If you call set_all_input_value_callback_configuration with period = 1ms and value_has_to_change=True, the CALLBACK_ALL_INPUT_VALUE will be called any time that there is any change on one of the inputs.

 

If you only want this for one channel you can use set_input_value_callback_configuration.

Geschrieben
  • Autor

Thanks for your reply, it makes sense now.  I was looking for a way to get an interrupt on a single edge (rising for instance) and with that in mind I misread the documentation.

 

I guess the simple answer for now is to simply filter out the 'falling edges' in my own code.  This will work fine for now although maybe long term being able to configure these callbacks for which edge type would be a nice addition.

 

Loving the Tinkerforge system by the way !

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.