Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: mjs513

Search: Search took 0.01 seconds.

  1. Replies
    50
    Views
    20,349

    Oops - guess I forgot the other piece of the...

    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...
  2. Replies
    50
    Views
    20,349

    @KurtE is the expert here but I think why the...

    @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...
  3. Replies
    50
    Views
    20,349

    Smile - glad its not just me that makes "silly...

    Smile - glad its not just me that makes "silly mistakes" - feel better now.
  4. Replies
    50
    Views
    20,349

    Looking at the SPI.h looks like you still have...

    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...
  5. Replies
    50
    Views
    20,349

    Not problem glad to help. This is deja vu. Seem...

    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.
  6. Replies
    50
    Views
    20,349

    You are correct Michael. When I was looking at...

    You are correct Michael. When I was looking at the c++ man pages it showed C99 and a tab for C++11.
  7. Replies
    50
    Views
    20,349

    Ok - here is a side by side comparison. looks...

    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 ...
  8. Replies
    50
    Views
    20,349

    Thanks Paul - will check that next. Out of...

    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....
  9. Replies
    50
    Views
    20,349

    Was looking that over this morning and planned on...

    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...
  10. Replies
    50
    Views
    20,349

    I agree with you on how something simple can get...

    I agree with you on how something simple can get overly complicated. Always subscribed to the KISS principal :)
  11. Replies
    50
    Views
    20,349

    Was just playing with the different types and...

    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...
  12. Replies
    50
    Views
    20,349

    @luni - thanks for the lesson. Learning...

    @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...
  13. Replies
    50
    Views
    20,349

    Seeing exactly the same thing using Ubuntu 18.04,...

    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...
  14. Replies
    50
    Views
    20,349

    Same here - all seems to be working. Ran with...

    Same here - all seems to be working. Ran with OpenGL, EigenTest, check42 psram test with no problem.
Results 1 to 14 of 14