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,

 

ich habe leider bis Montag keine Möglichkeit mit meinem IO16 zu testen, würde aber gerne etwas im Hotel zu Ende implementieren. Bei der Überlegung, wie ich die Ports anspreche, ist mir klar geworden, dass ein Punkt bezüglich MonoFlops unklar ist.

 

Und zwar wenn ich beispielsweise Port 0 mit 1,5s auf High schalte und dann nach 0,5s die Methode erneut aufrufe um Port 1 mit 1,5s in den Zustand High zu versetzen, was passiert dann mit Port 0?

 

Aufrufe quasi:

setPortMonoflop('A', 0x00000001, 0x00000001, 1500);

sleep(500);

setPortMonoflop('A', 0x00000010, 0x00000010, 1500);

 

Wie verhält sich dann Port 0? Geht Port 0 auf Low nach 0,5s oder nach 1,5s, nach 2s oder sogar gar nicht mehr?

 

Hat jemand eine Idee?

 

Danke im voraus.

 

Cheers,

Jörg

Geschrieben

Da beide Aufrufe auf verschiedene Pins beziehen kommen sie sich nicht in die Quere. Der 2. Aufruf ändert nicht das Verhalten des schon laufenden Monoflops auf einem anderen Pin. Dein 1. Monoflop auf Pin 0 endet also nach 1,5s, wie vorgegeben.

Geschrieben
  • Autor

Cool

 

vielen Dank für die schnelle Antwort.

Ich hatte im Source Code des IO16 nur eine Liste gefunden, die zyklisch geprüft wird, aber nicht die Stelle, an der diese gefüllt wird.

 

Beste Grüße

Jörg

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.