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

Hallo in die Runde!

 

Ich muss mein altes Thema nochmal aufwärmen! :) Ich möchte ein serielles binäres Signal mit 5V Pegel auf einer Zweidrahtleitung decodieren. Jedes Bit benötigt 1,2ms. Das Signal ist nicht standardisiert (also eine UART kann man nicht verwenden), dauert 42.9ms und wiederholt sich alle 2s.

Mit den ESP32 habe ich das mit C++ via Interrupt-Handler realisiert. Ich würde das Programm nun gern auf einem RED Brick mit Hilfe des Digital In 2.0 Bricklets oder einem RASPI 4 mit HAT Brick implementieren wollen.

 

1.) Geht das mit einem Industrial Digital In 2.0? Ich habe mir den Quellcode für den Interrupt angesehen. Der tastet all 100ms ab, ich möchte alle 1ms abtasten. Ich finde keine Angabe zur maximalen Abtastrate.

2.) Zudem muss der Interrupt während seiner Abarbeitung gesperrt sein (in C++ os_intr_lock()). Geht das?

 

Kann mir jmd. Tipps geben?

 

Vielen Dank

vom Theo

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.