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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. IIRC MichaelM as noted certain issues with...

    IIRC MichaelM as noted certain issues with certain speeds - may have been MCU dependent?
  2. Replies
    8
    Views
    38

    Writing the SD card in 512 byte blocks minimizes...

    Writing the SD card in 512 byte blocks minimizes SD buffering and rewrite overhead as well. And USB does full transmits on 64 bytes.
  3. another quick minute it has to go at least this...

    another quick minute it has to go at least this low :: #define Z_THRESHOLD 700
    for red to be usable - then the diagonals return on other locations.

    Same driver code indeed works - but...
  4. Replies
    8
    Views
    38

    Indeed the T_3.6 onboard SD card uses unique SDIO...

    Indeed the T_3.6 onboard SD card uses unique SDIO interface pins. I'd look for another example of the SDIO myfile writes for clarity on use.

    Perhaps it wouldn't be a bad idea to sprintf() the USB...
  5. Replies
    8
    Views
    38

    The wrapping of BEGIN and END transaction is...

    The wrapping of BEGIN and END transaction is designed to isolate/limit SPI usage to that single area of code to intended device with specified settings.

    Disable of interrupts over a large area of...
  6. This is TOO MUCH for the RED corner color...

    This is TOO MUCH for the RED corner color selector ::

    #include "XPT2046_Touchscreen.h"

    #define Z_THRESHOLD 1050


    But it is an improvement

    First step in SKETCH was stopping the noise...
  7. As noted - the pointer HITS where I touch - the...

    As noted - the pointer HITS where I touch - the error seems to be pressure shutoff for values returned.

    It is getting NOISE when pressure is not hard enough to register properly - but the .z...
  8. Replies
    8
    Views
    38

    Is this running from non-USB power? AFAIK any...

    Is this running from non-USB power? AFAIK any problem was only with startup where the cap/chip for power up might have helped - was fixed in software update included in TD_1.46.

    What is the...
  9. Got latest Github KeDei from KurtE. Ran...

    Got latest Github KeDei from KurtE. Ran TouchPaint - all looks good. Only thing is Maybe the pressure detection on touch - seem to get weird liftoff dots?

    Navy resolved Pink .vs. Magenta issue:...
  10. Good news and good work. I am supposed to be on...

    Good news and good work. I am supposed to be on my way somewhere so will try later. Glad that the color wasn't another bug.
  11. Okay that fixed rotation on my display - when I...

    Okay that fixed rotation on my display - when I saw Kurt's post - I thought that meant it was implemented in code already. And my few minutes here and gone figured it was something unique …
    ...
  12. I'll look for those - as I didn't see them...

    I'll look for those - as I didn't see them before.

    I did bring code into the sketch to do the 4 rotation map switch - it was working with the #define values swapped - I got it close to right with...
  13. Replies
    14
    Views
    118

    A UART at 1M baud - like Serial1 - would end up...

    A UART at 1M baud - like Serial1 - would end up near 100,000 bytes/sec.

    Would take non-HID USB, or faster UART rate, which Teensy can do - though not sure which one in use - Serial1 and Serial2...
  14. As I first thought after not expecting rotate to...

    As I first thought after not expecting rotate to help - WORKS::


    // This is calibration data for the raw touch data to the screen coordinates
    //#define TS_MINX 175
    //#define TS_MAXX 3900...
  15. I looked for setRotation and not seeing it - made...

    I looked for setRotation and not seeing it - made pork chops.

    I suspected that was not going to help and it would just re-orient on multiple axis and just flip the problem or something.

    Well -...
  16. Running Touch Paint has the color bar drawing...

    Running Touch Paint has the color bar drawing opposite where it is tested for - and the short screen axis is swapped - long axis follows the pointer - short axis is flipped … like the color palette...
  17. With mjs513 update lib files and KurtE sketch I...

    With mjs513 update lib files and KurtE sketch I get this:

    T:\tCode\T4\KeDei_Auto\KeDei_Auto.ino Jul 19 2019 19:13:32
    Test KeDEi...
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000...
  18. I have a "432" on R1 on my display. I suppose I...

    I have a "432" on R1 on my display. I suppose I should test your 'theory' some time soon … after dinner.
  19. Parts are NXP - like the Teensy MCU's - assume...

    Parts are NXP - like the Teensy MCU's - assume those in use were best choice of NXP components PJRC saw at the time ...
  20. It builds and runs - I think my IDE needs a...

    It builds and runs - I think my IDE needs a restart - it stalled horribly building??

    Dropped in the MJS513 after the github version not seeing a big change - didn't re-read prior to see what I...
  21. Assuming the two day old github is the base of...

    Assuming the two day old github is the base of this? Kurt posted a startup sketch and mjs513 posted replacement source files?
  22. Replies
    2
    Views
    53

    - crosspost ... congratualtions ... would...

    <edit> - crosspost ... congratualtions ... would have suggested that but read ... "i have tested to invert TX and RX and is a same" as saying that was already tried.

    Assuming the VCC voltages are...
  23. That pending item allows for HUGE buffers over...

    That pending item allows for HUGE buffers over 65KB - where a 16 bit integer won't work.

    This should be where a simple change in the define will get the needed size:...
  24. Replies
    4
    Views
    106

    That might be cool - maybe on Pending T4. But...

    That might be cool - maybe on Pending T4. But even that doesn't have the resources of an rPi

    For Audio on T_3.x's PJRC maintains a customized integer based library utilizing the best features of...
  25. Glutton , geek whatever :) My display is still...

    Glutton , geek whatever :)

    My display is still wired - haven't tried it since last post here - maybe soon.

    The timers sound fun. My code on T4 shows this as the micros() rolled over:

    ...
  26. Replies
    62
    Views
    6,237

    Did you remove the cap and try again? Got a...

    Did you remove the cap and try again?

    Got a picture? Miswired cap? Polarized cap wrong way?
  27. Replies
    3,770
    Views
    389,984

    Good, I wondered how I was messing up the timing...

    Good, I wondered how I was messing up the timing but such a constant 100us amount.

    Also odd that the micros() always ended in 000 on each run I did. So decided to show ARM_CycCnt too - and this...
  28. Replies
    3,770
    Views
    389,984

    THANK YOU @manitou! :) You are absolutely...

    THANK YOU @manitou! :) You are absolutely correct.

    I altered code above to print millis/micros on each 15000 count and it was slipping 100us each set!

    This code runs and the 15,000 interval...
  29. Replies
    3,770
    Views
    389,984

    Nice @Frank B. Swapping out the_isr code above...

    Nice @Frank B.

    Swapping out the_isr code above with this allows loop() to run normally.
    No need to disable the IRQ { or to enable it in loop() }


    FASTRUN void QT3_isr(void) {
    // TMR3_SCTRL0...
  30. Replies
    3,770
    Views
    389,984

    @TelephoneBill - I ran your code and saw what you...

    @TelephoneBill - I ran your code and saw what you saw. But Auto Upload works - so USB is active and aware. The _isr()'s just repeat too fast to let loop() run as written AFAIK.

    I gave the...
  31. Replies
    3,770
    Views
    389,984

    Only Paul can answer specifically - but general...

    Only Paul can answer specifically - but general from prior posts plan was IIRC July 2019 - may still make it - but last post noted delivery of production PCB's was not 100% on schedule and production...
  32. Windows was event driven before single core...

    Windows was event driven before single core Pentiums.

    Arduino basically/literally runs a while(1) from main(). The while(1) just calls loop() over and over - and to handle serialEvent()...
  33. Replies
    3,770
    Views
    389,984

    I just undid boards.txt back to arm\bin with...

    I just undid boards.txt back to arm\bin with unchanged TD version of gcc. I did a build without local Hard_Fault and the LST MASM file is SMALL - but AUTO Upload works, the SerMon shows proper text...
  34. Replies
    3,770
    Views
    389,984

    Odd Frank B thought the new 'arm6' path with edit...

    Odd Frank B thought the new 'arm6' path with edit would make it work to use new compiler … except for the part before " … " the last part should have found the .exe?

    Doesn't sound like a good...
  35. Replies
    3,770
    Views
    389,984

    There is an arm folder there already?

    There is an arm folder there already?
  36. Replies
    3,770
    Views
    389,984

    instead of debug_tt - do the prior posted sketch...

    instead of debug_tt - do the prior posted sketch local copy of the Fault_Handler:

    #if 1 // TOGGLE 0 to exclude and cause BAD USB - set back to 1 and recompile to correct.
    #ifdef __cplusplus...
  37. Replies
    3,770
    Views
    389,984

    Yikes, that is a Big ZIP - 3X TeensyDuino! Will...

    Yikes, that is a Big ZIP - 3X TeensyDuino! Will see if it fixes my repro too.
  38. Replies
    3,770
    Views
    389,984

    Yes, it is some confusion in the build>linker...

    Yes, it is some confusion in the build>linker dropping out some needed code shown comparing the LST files.

    :( - thought for sure I assembled the libs from the right place … where I used them from...
  39. Replies
    3,770
    Views
    389,984

    oppps - somehow what I got was earlier version -...

    oppps - somehow what I got was earlier version - intended to grab what was working for me and got crossed up ...:


    Repacked with the one with writeRect as "B" version

    Also updated link in...
  40. Replies
    3,770
    Views
    389,984

    @mjs513 - any ideas? Odd, There were three...

    @mjs513 - any ideas?



    Odd, There were three libraries in there that needed to be used and then the sketch folder for uncannyEyes0. Seems the ST7735_t3 library might not be the right one if it...
  41. Found new rotationColorPos sketch - I didn't see...

    Found new rotationColorPos sketch - I didn't see anything good come of it.

    Though I'm wondering back to when mine came up better yesterday when I re-powered it? i.e. does the device have any...
  42. Good that it seems to be functional - a pic with...

    Good that it seems to be functional - a pic with indicator of the heat affected chip would allow understanding beyond - there is a short somewhere - or it was damaged and waiting to fail.
  43. @KurtE - quick look SubLime doesn't find other...

    @KurtE - quick look SubLime doesn't find other defines of those color names - and build fails if they are all gone with "#if 0"

    As far as the #ifdef RGB_COLORS - it makes the colors diff on...
  44. Replies
    3,770
    Views
    389,984

    Marked TimeAlarms as working in Post #4

    Marked TimeAlarms as working in Post #4
  45. Freaky … I turned it off to hit the uncannyEyes...

    Freaky … I turned it off to hit the uncannyEyes again on another T4 - then this T4 back on - the color bar NOW matches p#381 pic of MJS513 - including two greens in middle though FAR RIGHT (before...
  46. I just used the full constructor because it...

    I just used the full constructor because it worked before - then I knew what the pins were … and they were explicit … to get working touch as posted I dropped those and except colors it works now.
  47. Okay moved 6 to 9 for touch - to use the code as...

    Okay moved 6 to 9 for touch - to use the code as written:

    KEDEIRPI35_t3 tft = KEDEIRPI35_t3(&SPI, TFT_CS, STMPE_CS); //10,9,11,13,12
    //KEDEIRPI35_t3 tft = KEDEIRPI35_t3(&SPI, 10, 6, 11, 13, 12);...
  48. Yes, it says v6.3 - 2018/4/9 I have dupont...

    Yes, it says v6.3 - 2018/4/9

    I have dupont wires to T4 - 5V from Vin pin I can readjust to anything

    I posted mine before - I suppose you did too - and of course the code let me see
  49. I had bad constructor value - changed to this::...

    I had bad constructor value - changed to this:: KEDEIRPI35_t3 tft = KEDEIRPI35_t3(&SPI, 10, 6, 11, 13, 12); //10,6,11,13,12

    Colors are all wrong: using the snippet above with names and here is the...
  50. Got github KeDei - touchpaint example just has...

    Got github KeDei - touchpaint example just has debug feedback - scaling seems about right

    But don't see the color box paint area like p#367 to test compare the color block?

    Screen is just WHITE...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4