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 zusammen,

 

ich stecke fest.

Ich habe mir das Servo 2.0-Bricklet gegönnt und möchte es unter Python programmieren.

Mit dem BrickViewer bekomme ich das Servo zum drehen. Ein externes Netzteil hängt dran.

Wenn ich aber das Demoprogramm "Callback" starte, kommt die Fehlermeldung:

ModuleNotFoundError: No module named 'tinkerforge.bricklet_servo_v2'

Wieso wird das Modul nicht gefunden. Ist es so neu, das es nachinstalliert werden muss?

Ich habe unter Windos10 den BrickViewer und BrickDämon in der neuesten Version installiert.

Und nun?

 

Geschrieben
  • Autor

Okay,

habe die Bindings geladen und in den Ordner d:\Daten\Thonny\Tinkerforge verschoben. Wenn ich dann ein selbstgeschriebenes Programm unter D:\Daten\Thonny speichere, läuft das Programm.

Sobald ich aber unter D:Daten\Thonny einen Unterordner anlege und dort das Script abspeichere, funktioniert das nicht mehr. Also müssen alle Programme unter D;\Daten\Thonny  landen müssen. Ich hätte aber gerne Unterordner für verschiedene Projekte angelegt.

Ich arbeite mit Win10 und habe unter Umgebungsvariablen einen ganz anderen Pfad vorgegeben und die Bindings dorthin verschoben, aber das funktioniert leider auch nicht.

Gibt es einen Trick, wie ich eine saubere Ordnerstruktur hinbekomme.

 

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.