Banbury / pxt-calliope-oled96

MakeCode blocks for Grove OLED Display 0.96".
MIT License
1 stars 6 forks source link

Ausgabe oled96.showNumber(Feuchtigkeit)? #3

Open HaraldRau opened 5 years ago

HaraldRau commented 5 years ago

bme280_steckplatine Is it possibile to write a number? I find no function for this. like this...oled96.showNumber(Feuchtigkeit) mini-screenshot

HaraldRau commented 5 years ago

Is this possible:

export function writeNumber(s: INT) { for (let c of s) { putINT(c); } }

MKleinSB commented 5 years ago

Hallo Harald! Verwende doch den verbinde-Block mini-screenshot 2 Sollte funktionieren.

HaraldRau commented 5 years ago

Ja, das geht! Danke! mini-screenshot

Banbury commented 5 years ago

I leave this issue open. If I find the time, I'll add a convenience function 'write number to display'.

HaraldRau commented 5 years ago

Thank you! Harald!