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,

 

ich wuerde gerne auf einem Master Brick ein paar Byte Information speichern, z.B. eine Seriennummer. Die UID kann ich zu diesem Zweck nicht verwenden, da sie schon anderweitig gebraucht wird, aber auch meine Daten wuerden sich nicht dynamisch aendern, sondern nur ein Mal geschrieben.

 

In der Dokumentation des API habe ich leider nichts gefunden ... gibt es da irgendeinen Trick? Waere das auch fuer andere ein nuetzliches Feature?

 

Dankeschoen!

 

P.S.: Kann ich eigentlich die UID eines Master Brick irgendwie ueber das normale API aendern? Ich koennt natuerlich in der Source des Brick Viewers nachsehen, aber vielleicht weiss es ja jemand zufaellig ...

 

Geschrieben

So eine frei Speicherfunktion gibt es im System so nicht.

 

Die UIDs der Bricks werden aus der UIDs des Mikrocontrollers abgeleitet und sind nicht änderbar.

 

Die UIDs der Bricklets sind ein uint32 der Base58 kodiert dargestellt wird. Du könntest also eine Bricklet UID als 4 Byte freien Speicher missbrauchen. Der uint32 Wert darf nur nicht 0 sein.

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.