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,

kann mir bitte jemand ein Beispiel (bevorzugt in Python oder PHP) bereitstellen, mit dem ich am OLED ein Fenster beschreiben kann das nicht genau 128 oder 64 Pixel breit ist?

Ich hab versucht, ein 32 Pixel breites Bild zu transferieren - das geht nicht (auch wenn ich in den Bindings die in "64" Hardcodierung rausnehme).

 

also hier:: https://raw.githubusercontent.com/Tinkerforge/oled-128x64-bricklet/master/software/examples/php/ExampleScribble.php

die Werte

const WIDTH = 32;

const HEIGHT = 32;

 

Danke vorab!

Geschrieben
  • Autor

die Beispiele sind eine große Hilfe und funktionieren nun einwandfrei mit jeder Bildgröße!

Erkenntnisgewinn für mich ist:

oled::write muss immer mit 64Byte gefüttert werden, die Bildgröße ist mit olde::newWindow zu steuern.

DANKE :-))

Geschrieben

Die Steuerung der Bildgrösse über NewWindow ist allerdings ein wenig ungenau: +/- 8 Pixel (1 Zeile). Das macht es unmöglich gezielt ein Bereich von z.b. 3x3 Pixel zu adressieren (z.b. Clear)

 

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.