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,

I just started with the e-paper and I run into behaviour of it that I cant explain, maybe you can help me. (gray model)

I works perfectly predictable in normal update mode (7s one) but when set to the delta mode it seems like the color constants are no longer valid  and  fill display white does fill it with black instead.

ep = BrickletEPaper296x128(epaper_uid, ipcon)
ep.set_display_type(1)
ep.set_update_mode(0)
 
ep.fill_display(ep.COLOR_WHITE)
ep.draw_text(16, 48, ep.FONT_24X32, ep.COLOR_BLACK, ep.ORIENTATION_HORIZONTAL,clock.strftime("%H:%M:%S"))
ep.draw()
time.sleep(10)
    
ep.set_update_mode(2)
ep.fill_display(ep.COLOR_WHITE)
clock = datetime.datetime.now()
ep.draw_text(16, 48, ep.FONT_24X32, ep.COLOR_BLACK, ep.ORIENTATION_HORIZONTAL,clock.strftime("%H:%M:%S"))
ep.draw()

my logic is that I before  calling the second draw I fill the buffer with white, draw next clock and then call draw to dispay and the text should update.

Unfortuantely the above causes the screen to go all  black why?

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.