reinweb Posted January 16, 2016 at 12:51 AM Share Posted January 16, 2016 at 12:51 AM ich muss erkennen, dass BrickletOLED128x64::clearDisplay() sich auf das zuletzt mit BrickletOLED128x64::newWindow() gesetzte Fenster bezieht. Ist das Absicht? Quote Link to comment Share on other sites More sharing options...
Nic Posted January 16, 2016 at 05:13 PM Share Posted January 16, 2016 at 05:13 PM clearDisplay() leert oder löscht den kompletten Display-Inhalt. Ist das ein Problem? newWindow() legt einen bestimmten Bereich fest, der mit write(s) gezeichnet wird. newWindow() erneut aufgerufen, kann aber auch nur den zuletzt gezeichneten Bereich "leeren" mit write([0..]). Quote Link to comment Share on other sites More sharing options...
photron Posted January 18, 2016 at 10:23 AM Share Posted January 18, 2016 at 10:23 AM Das ist Absicht. write() und clearDisplay() arbeiten immer auf dem zuletzt gesetzten Fenster. Die Dokumentation sagt das leider noch nicht, das werde ich gleich korrigieren. Danke für den Hinweis. Quote Link to comment Share on other sites More sharing options...
reinweb Posted January 18, 2016 at 11:38 AM Author Share Posted January 18, 2016 at 11:38 AM passt für mich zu 100%! Danke :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.