Core.INK display refresh
aerolite last edited by
I just got my core.ink. I install the NTP-Clock which can refresh the display without any blink. I added a battery sensor the display with code below. the problem I have is some the number is written on top of previous number and make the number not readable. I tried clear the buffer and it make the display even worse that the time number is not readable.
Could you some point out what is the proper way to write to the display?
Serial.println("\ndrawBat"); char str; //TimePageSprite.clear(CLEAR_DRAWBUFF | CLEAR_LASTBUFF); TimePageSprite.FillRect(10,180,90,16,0); //TimePageSprite.pushSprite(); TimePageSprite.FillRect(10,180,90,16,1); //TimePageSprite.pushSprite(); //delay(1000); sprintf(str, "Bat: %.2f V",batVol); TimePageSprite.drawString(10,180,str,&AsciiFont8x16); //TimePageSprite.pushSprite();
ajb2k3 last edited by
Are you making sure to leave a 15 second pause between refreshes?
Thrasher last edited by
I faced common issue with core grey module, made a couple of titles and was feeding formatted data from light sensor and envII module. Had to spend some time playing with delays to make it work properly but was blaming raped micropython build.
Long things short, don't try to understand it, try adding delays.