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

Für alle, die auf der Suche nach einem Endlos-Poti sind (da es noch kein entsprechendes Bricklet gibt):

 

mit z.B. diesem Schalter

http://www.conrad.de/ce/de/product/705538/DDM-Hopt-Schuler-Encoder-Dig-Potentiometer-5-VDC-Serie-427-427-021101AL001-Vertikale-Betaetigung-DIL-Max-5-W und einem Digital-In-4 Bricklet lässt sich mit relativ wenig Aufwand ein Endlos-Poti / Schalter umsetzen der folgende Zustände erkennen kann:

 

  • links drehen
  • schnell links drehen
  • rechts drehen
  • schnell rechts drehen
  • Taste drücken
  • Taste gedrückt und link/rechts drehen in Kombination

Das angehängte Java-Beispiel geht davon aus, dass die Drehkontakte auf PIN 0+1 des Digital-In geschaltet sind und der Druckkontakt auf Pin 2. PIN 3 bleibt dann noch zur freien Verfügung übrig.

 

Der oben genannte Schalter reagiert etwas träge, d.h. extrem schnelles Drehen erzeugt sogar weniger Events ...

PotiTest.java

Geschrieben

Auch wenn ich sowas nicht gerade benötige find ich's immer gut, wenn jemand sowas postet und damit die Machbarkeit demonstriert.

Thx

 

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.