Oops - guess I forgot the other piece of the puzzle.
When you dump to the SerMon everything looks fine, as you have shown, but now try and copy the contents of the window and paste it into your...
Type: Posts; User: mjs513
Oops - guess I forgot the other piece of the puzzle.
When you dump to the SerMon everything looks fine, as you have shown, but now try and copy the contents of the window and paste it into your...
@KurtE is the expert here but I think why the speed up for 1 32-bit word transfer or 16-bit (my guess) is small if you are doing alot of transfers like for a display it may add up to a greater...
Smile - glad its not just me that makes "silly mistakes" - feel better now.
Looking at the SPI.h looks like you still have some 1052 defines (line 1139 or so not sure still needed unless for posterity :) );
Don't really use ethernet much but looking at the lib looks like...
Not problem glad to help. This is deja vu. Seem to remember you working on the map() function a couple of years ago as well.
If there is anything else you need checked let me know.
You are correct Michael. When I was looking at the c++ man pages it showed C99 and a tab for C++11.
Ok - here is a side by side comparison. looks like its working both in forward and reversed ! ....
Range 0-20 to 4-0 Range 0-20 to 0-4
x map map1 map(+1) map(round) Rosetta x ...
Thanks Paul - will check that next. Out of curiosity I was looking for a mathematical approach to map and found something on rosetta code for a map function: https://rosettacode.org/wiki/Map_range....
Was looking that over this morning and planned on testing. That cmaglie sketch helps. I changed it to read:
// This is the original map() function in Arduino Core
long map1(long x, long...
I agree with you on how something simple can get overly complicated. Always subscribed to the KISS principal :)
Was just playing with the different types and added results to my previous posts. Looking at inttypes.h appears there are a few more variants for PRIxxxx usage as well:
Which i think is...
@luni - thanks for the lesson. Learning something new now. Never realized those things were defined in inttypes.h. I have seen something similar in some .h files though.
EDIT: did a google...
Seeing exactly the same thing using Ubuntu 18.04, the screenshot matches exactly.
Think will need to convert many many %u %x %d to %lu %lx %ld Will be sort of a pain! Ran across an instance of...
Same here - all seems to be working. Ran with OpenGL, EigenTest, check42 psram test with no problem.