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

Mir ist im Brickv aufgefallen, dass er beim Anzeigen des Servo Brick Tabs die Status-LED meines Bricks zum wilden flackern bringt. Später ist mir aufgefallen, dass der Servo-Brick keine Callbacks für ExternalVoltage, StackVoltage usw. bietet (abgesehen vom LowVoltage-Callback). Auch Callbacks für den fließenden Strom fehlen (Servo- und OverallCurrent).

 

Ich vermute also, dass auch der Brick Viewer aus diesem Grund auf wildes Polling setzt. Gibt es einen technischen Grund diese Callbacks auszulassen oder wurden sie schlicht vergessen?

 

Viele Grüße

Jan

Geschrieben

Naja, der Grund war einfach eine schlanke API haben zu wollen. Rein technisch könnte es zwei Probleme geben: Nicht genug Flash und zuviel Aufwand die ganzen Callback-Zustände zu checken (ist aber beides beim Servo Brick nicht der Fall, denke ich).

 

Wenn dafür bedarf besteht kann ich solche Callbacks hinzufügen.

Geschrieben
  • Autor

Naja der Bedarf ist relativ ^^

 

Ich machs jetzt auch durch wildes Polling, so wie ihr. Das funktioniert auch

 

Aber:

Using callbacks for recurring events is always prefered compared to using getters. It will use less USB bandwith and the latency will be a lot better' date=' since there is no roundtrip time.[/quote']

 

Insofern: Wäre schon nett, aber hat im Moment keine hohe Priorität. (noch reichen mir die Events/sec)

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.