@Dimi great stuff! you are a true wizard!
question - how to add headphone jack to m5? is there an easy and elegant solution for this? perhaps with the line out stuff you pointed us to?
@Dimi great stuff! you are a true wizard!
question - how to add headphone jack to m5? is there an easy and elegant solution for this? perhaps with the line out stuff you pointed us to?
As im diving into M5 programming I am realizing many shortcomings with the text display functions. It appears one only gets to print a string at a location but then one must paint over it to clear it. There is no such thing as keeping a reference to a printed string so one can manipulate it
Consider for example a console display. one line of text is entered, then next one moves the previous one up. To implement this, one has to painfully track the position of each line string, clear the text are, then redraw everything again.
I am coming from the world of javascript where one can target a DOM and quickly change it.
Would this be easier if I moved into micro python or does it suffer the same limitations?
Is it really this obtuse? Can someone recommend any libraries, books, blogs to get me up to speed and lessen the pain ?
what an amazing application! Great job! Thank you for sharing sources to learn from. Very elegant code!
As im diving into M5 programming I am realizing many shortcomings with the text display functions. It appears one only gets to print a string at a location but then one must paint over it to clear it. There is no such thing as keeping a reference to a printed string so one can manipulate it
Consider for example a console display. one line of text is entered, then next one moves the previous one up. To implement this, one has to painfully track the position of each line string, clear the text are, then redraw everything again.
I am coming from the world of javascript where one can target a DOM and quickly change it.
Would this be easier if I moved into micro python or does it suffer the same limitations?
Is it really this obtuse? Can someone recommend any libraries, books, blogs to get me up to speed and lessen the pain ?
Top prize should be ALL stacks + $1000.
Runner ups should get the yellow version + $100
@M5Stack
why not host a competition for M5 makers? something like people compete for the most interesting apps, games, etc. give away some cash prize, or stack units, or something like this?
I think it would be fun and interesting to see what others come up with!
@calin
very nicely done! thanks for sharing sources to learn from
What is recommended practice to save data without user having SD card? For example say you make a counter and want to save the last count. Since M5 can easily reset from a loose connection , it would be great to save the last count internally.
In my rsearch i find it is possible to save to flash memory (?) but there are a limited amounts of read /writes. is this correct? I dont want to ruin my machine by having a counter take up all the one-time memory
any tips?
you mean with micropython? you will need to have that firmware flashed on it. i havent done that yet but i remember reading about it on the github i believe
I had to do the same thing for 10.10. and it took a couple tries
nice tip on the custom color didnt know that
I agree with you. the fast(er) update is done with
M5.Lcd.setTextColor(TFT_BLACK,TFT_WHITE);