0

CLUE OnDiskBitmap returning strange values
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: CLUE OnDiskBitmap returning strange values

by charleseliot on Wed Aug 12, 2020 3:07 pm

I think so, but I can't find a ref any more, so I could be hallucinating. (I recall thinking at the time "That's strange ... why the continuous re-draw?". Then later I came across lots of code using pass. Thanks for confirming that pass is the right approach.)

Re auto-brightness: that's definitely an artifact from a sample that demonstrated fade in/out. I couldn't get that sample to work at all, so I just set auto-brightness explicitly to the documented default (True). Odd that setting to default might have a side-effect, but it wouldn't be the strangest thing I've experience in my life :-)

Thanks again for all your help!

charleseliot
 
Posts: 10
Joined: Tue Aug 11, 2020 11:47 am

Re: CLUE OnDiskBitmap returning strange values

by adafruit_support_carter on Wed Aug 12, 2020 3:41 pm

Not saying auto bright doesn't work. Just that when something isn't working, best to revert to most simple case. Which in this case was to just leave it alone.

If you do come across that code in a guide, let us know. No worries if you can't find it though.

adafruit_support_carter
 
Posts: 20281
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.