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 Tinker Freunde!

 

Ich hätte da eine Frage zum IO-4. Kann man die Standarteinstellungen des IO-4 ändern, sodass z.B. beim Bestromen des MasterBricks nicht alle IO-4 Ports als INPUTS/HIGH eingestellt sind?

 

In meinem C# Programm parametriere ich diese ja auch wie ich Sie brauche. Doch bräuchte ich zwei Ports als Ausgänge (auch wenn der MasterBrick noch keinen Input erhalten hat vom C# Programm).

 

Grüße

 

Artur

 

Geschrieben

Das ist mit der API nicht möglich und es ist auch nicht implementierbar. Die Ausgänge der IO-4 sind direkt mit den Pinnen des Microcontrollers auf dem Brick verbunden. Microcontroller haben beim Booten für gewöhnlich immer alle ihre Pinne auf "Input Pull-Up" stehen.

 

D.h. den Zustand könnten wir frühestens ändern wenn das Brick gebootet hat und die Bricklet Plugins geladen sind und der erste Tick ausgeführt wird. Bis dahin sind aber schon 2-3 Sekunden vergangen. Zu dem Zeitpunkt kannst du es dann aber auch einfach über die API einstellen.

Geschrieben
  • Autor

Hey borg!

 

Danke für die Info!

 

Genau das wollte ich hören!

 

Werde mich dann um eine andere Lösung kümmern.

 

Grüße

 

Artur

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.