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,

 

ich habe mir das Starterkit für die Wetterstation zugelegt. Der zusammenbau war schnell gemacht.

Als Programmiersprache habe ich mich für Python entschieden, da ich hier mehrfach gelesen habe das sie für Anfänger am besten geeignet sein soll.

Als Entwicklungsumgebung nutze ich Python 2.7.5 und Windows 7 64bit, die API habe ich wie in der Dokumentation eingebunden. Wenn ich den Beispielcode für die Wetterstation ausführe, bricht er mit dem Fehler ab "ERROR:root:LCD 20x4 init failed: Not connected". Die Bricks habe ich getest mit dem Brickviewer, da funktioniert auch das LCD ohne Probleme.

Zusätzlich habe ich noch ein Problem mit dem Enumerate, es liefert mir nicht alle Bricks, mal wird nur ein Brick angezeigt mal sind es mehr. Sobald ich einen Fehler einbaue werden mir die Bricks angzeigt, auch wenn es doppelt ist.

Ich habe mal die ein paar screenshots gemacht. Hoffe ich konnte mein anliegen etwas darlegen.

 

solong Mike

enumerate_default.thumb.PNG.3c9c4ec750e9795cca9e0e522af6c566.PNG

enumerate_default_1.thumb.PNG.56fd39d909a3438071df0f455220afca.PNG

enumerate_edit.thumb.PNG.8a0f9589be9e0405eac3adc2d0d44b96.PNG

Geschrieben
  • Autor

So ich habe den Verursacher gefunden, es lag an IDLE. Wenn ich die Skripte direkt starte läuft alles ohne Probleme.

 

Solong Mike

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.