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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Teensy 4.0 DOA?

    by KurtE
    Replies
    14
    Views
    48

    Check/try different cable

    Check/try different cable
  2. Replies
    166
    Views
    3,633

    @mjs513 - I think we can speed up a few of the...

    @mjs513 - I think we can speed up a few of the SPI things a bit more, without needing to go down to SPI register level. Sort of like how I packed the two words into 4 bytes and did one transfer.
    ...
  3. Sorry I am not sure... Do you get the Serial...

    Sorry I am not sure...

    Do you get the Serial prints to your debug monitor showing the servo should have it's position set? Do they look reasonable?

    I am guessing you have Audio board...
  4. Replies
    17
    Views
    187

    For what it is worth, I have two: an older Weller...

    For what it is worth, I have two: an older Weller WSL and a Hakko. The Weller I keep a fine tip on it and the Hakko and heaver duty one. I use the WSL more often, but if what I am soldering is a...
  5. Replies
    166
    Views
    3,633

    I may quit worrying about trying to speed up some...

    I may quit worrying about trying to speed up some of the SPI communications. I sort of now remember doing some of this exercise with RA8875 and punted...

    That is If I capture with Logic Analyzer...
  6. Replies
    166
    Views
    3,633

    Quick update: I believe that the RA8876(and maybe...

    Quick update: I believe that the RA8876(and maybe 5) are much more picky on SPI state. I tried hacking larger area of code to queue up the queue of data and the data did not show up correctly. (like...
  7. Replies
    166
    Views
    3,633

    I keep meaning to watch... Have been busy burying...

    I keep meaning to watch... Have been busy burying the potato plants...
    What I mean that is needed is:



    void RA8876_t3::fillRect(int16_t x, int16_t y, int16_t w, int16_t h,uint16_t color) {...
  8. Replies
    166
    Views
    3,633

    @mjs513 - Doing a first pass at SPI...

    @mjs513 - Doing a first pass at SPI enhancments/speedups...

    Things like: hopefully now you can specify pins for SPI1 or SPI2 and it will work.

    Also failing when you ask if the CS pins is a...
  9. Replies
    166
    Views
    3,633

    Glad you have centering mostly working :D ...

    Glad you have centering mostly working :D

    Note from the stuff before to get the font working. I did not put in the code to offset the rectangle by the current offset. Needless to say most all...
  10. Replies
    166
    Views
    3,633

    Morning: If you wish to try out the font test...

    Morning:

    If you wish to try out the font test 4... I have a version up in a soon to be deleted branch Will migrate into the main WIP branch:

    #include <Adafruit_GFX.h>

    #include <SPI.h>...
  11. Replies
    166
    Views
    3,633

    So far my quick 5 minute look hopefully makes it...

    So far my quick 5 minute look hopefully makes it easier to find things. So I would suggest going for it!

    At some point will be interesting to see how much we can speed things up. Looks like...
  12. Replies
    166
    Views
    3,633

    Next Hint: Uncommented a lot of debug print......

    Next Hint: Uncommented a lot of debug print... Here is details for the 'd'

    drawFontChar(d) 100 (36, 0) 10 ffff 1 1
    index = 941
    size = 9,15
    line space = 21
    cap height = 14
    offset...
  13. Replies
    166
    Views
    3,633

    @mjs513 (and others) - I pushed up PR for the...

    @mjs513 (and others) - I pushed up PR for the hacked up fonts library... Not sure how good it is...

    Right now looking at the Test4... (hacked up) first issue was on 2nd page, so first page...
  14. Replies
    166
    Views
    3,633

    Note with the above, First page displays good. ...

    Note with the above, First page displays good.

    2nd page starts to royally screw up on the CRYSTAL24 font.
    Next page screwy...
    Then nothing works...

    So have some debug work to do
  15. Replies
    166
    Views
    3,633

    Thanks, I stated to try to convert over the...

    Thanks, I stated to try to convert over the RA8875 font test 4... And there are still several issues (opportunities)

    Colors - Should we leave it with RED, WHITE, BLACK are specific to this...
  16. Replies
    166
    Views
    3,633

    I just pushed up changes, that fixes both ILI and...

    I just pushed up changes, that fixes both ILI and GFX fonts with text colors and setup opaque versus transparent.

    You might try looking at my branch and see if it works now for you.

    Warning, I...
  17. Replies
    10
    Views
    117

    I am pretty sure that is the plan, but with...

    I am pretty sure that is the plan, but with Covid19 constraints it is just Paul and Robin, and they are pretty busy. Hopefully in the not too distant future, they will be able to catch up.
  18. Replies
    166
    Views
    3,633

    Quick update - I now have the opaque versus...

    Quick update - I now have the opaque versus transparent in both I think...

    But a couple of issues, in that we have two different models of what setTextSize and setTextColor do...

    Was able to...
  19. Replies
    166
    Views
    3,633

    Looks like some more stuff not setup. like...

    Looks like some more stuff not setup.

    like _backTransparent so I changed line to: if (_TXTForeColor == _TXTBackColor)
    But still nothing being output:

    Turned on some more debug printing:
    ...
  20. Replies
    166
    Views
    3,633

    Thanks that fixed it. As for the clipping... ...

    Thanks that fixed it.

    As for the clipping...

    I changed your print to:

    Serial.printf("CLIPPED RETURN XY(%d %d %d %d) CLIP(%d %d %d %d)\n",
    x_start, x_end, y_start, y_end, ...
  21. Replies
    166
    Views
    3,633

    I may go out and play in the dirt for awhile,...

    I may go out and play in the dirt for awhile, before it rains,

    But right now it does not link as it is finding multiple libraries for _font_ComicSansMS...
  22. Replies
    699
    Views
    23,530

    It has been awhile since I looked at that branch,...

    It has been awhile since I looked at that branch, probably since sometime last year. Hopefully at some point will get a chance (and motivation) to do another round with it.

    At one point I...
  23. Replies
    166
    Views
    3,633

    @mjs513 - Good morning, Sounds great - I...

    @mjs513 - Good morning,

    Sounds great - I synced up and tried building, but getting a link error


    Linking everything together......
  24. Replies
    10
    Views
    224

    As mentioned not all of the IO pins associated...

    As mentioned not all of the IO pins associated with that interface is not exposed by the T4 or T4.1... SO yes you probably can not use that interface... (Note I am a software guy as well)

    But that...
  25. Thread: Future Teensies!

    by KurtE
    Replies
    18
    Views
    829

    Wonder if that was 8MB of external RAM or...

    Wonder if that was 8MB of external RAM or replacing the current 2MB flash with the 8MB flash of T4.1? Again have no idea of how doable that would be, i.e. are they same chip pattern with same IO...
  26. Replies
    50
    Views
    2,034

    Sticky: Personally I wish they were just left in... But...

    Personally I wish they were just left in... But as they say it is not my library.
  27. Replies
    50
    Views
    2,034

    Sticky: Yes, it is another place where the code changed...

    Yes, it is another place where the code changed that no longer had those methods on the top level class, but instead had to call the modules...

    Now I thought that @pedvide was going to add...
  28. Again only implemented on T4.x. Yes you simply...

    Again only implemented on T4.x.

    Yes you simply need to allocate the buffer somehow. Could be simple global define, can be malloc and then pass it in.

    The only caveat is that make sure you...
  29. Replies
    166
    Views
    3,633

    You are beating me to it :D When I say I have...

    You are beating me to it :D

    When I say I have mine hooked up to USB 3 HUB - https://smile.amazon.com/gp/product/B07G8CMR18/
    I like using this hub as it has individual buttons to turn on or off...
  30. Replies
    166
    Views
    3,633

    Thanks, I think maybe it was just that sketch ...

    Thanks, I think maybe it was just that sketch (Memory transfer).

    I am now running on USB with Gauges and Graphics, after I edited them to compile... (setTextAt -> setTextCursor)
  31. Replies
    166
    Views
    3,633

    I have tried both and I now get the display...

    I have tried both and I now get the display working but as I mentioned USB does not want to talk to PC...

    Probably what I should do is to try to power the display separately.

    Note: When I...
  32. It looks like someone needs to do a little...

    It looks like someone needs to do a little chasing here, which is likely with each Teensydino release.

    That is if you look at the file:...
  33. Replies
    10
    Views
    224

    I just started to play with the 7" variation of a...

    I just started to play with the 7" variation of a display with RA8876. More information on a few different threads, including:...
  34. Replies
    1
    Views
    68

    Sorry, I have not heard of any. The only other...

    Sorry, I have not heard of any.

    The only other language I remember seeing anything about is variations of Python, like: https://hackaday.com/2020/01/14/circuitpython-now-working-on-teensy-4-0/
  35. Replies
    9
    Views
    152

    There are a variety of different ways to get to...

    There are a variety of different ways to get to the binary. Example in the IDE under sketch menu is the command: export compiled binary, which puts a copy into your sketch folder.

    If I remember...
  36. Replies
    166
    Views
    3,633

    Note: I got it to work with a jumper to the...

    Note: I got it to work with a jumper to the backlight pin. Although while I got the display to show the proper data, I am having issue with it not talking USB back to PC. Will debug more maybe...
  37. Replies
    166
    Views
    3,633

    Quick update - I finished assembling the basics...

    Quick update - I finished assembling the basics of my RA8875 kitchen sink board, and plugged in RA8875 and it works with T4.1 :D I cut the VIN/VSB and have jumper on board to either run from USB or...
  38. Thread: Teensy Qt

    by KurtE
    Replies
    439
    Views
    133,761

    @koromix - Thank you again for developing the...

    @koromix - Thank you again for developing the TyCommander.


    A little while ago, I did my attempt to add support for the new Teensy 4.2 :D which is now released.

    It would be great if there was...
  39. I am not sure how well the support for No USB is...

    I am not sure how well the support for No USB is implemented (or not).

    But if you look in the boards.txt file you will see lines like:

    #teensy40.menu.usb.disable=No USB...
  40. Actually you don't have a delay AFTER the Serial...

    Actually you don't have a delay AFTER the Serial is available... That is your code will return TRUE for Serial as soon as the USB makes connection with the PC, but some programs on PC may not be...
  41. Sounds like an issue with Visual Studio (Visual...

    Sounds like an issue with Visual Studio (Visual Micro?) on handling Serial port. It may act differently with some Arduino processors who have a separate processor or FTDI like chip on board, which...
  42. Replies
    3
    Views
    74

    Warning, I am a Software person, so maybe an EE...

    Warning, I am a Software person, so maybe an EE type might give you a better answer.

    Things I would probably try to see if it works include:

    a) Tie the Reset line of the display to reset pin...
  43. Replies
    26
    Views
    14,055

    Those look a lot nicer than the quick and dirty...

    Those look a lot nicer than the quick and dirty version I did a few years ago, that I use in Diptrace to show 3d layouts of some of my boards that I tinker with, like:

    20327

    But if you wish to...
  44. Replies
    166
    Views
    3,633

    It arrived yesterday :D Still need to hook it...

    It arrived yesterday :D

    Still need to hook it up. I do have a board that I started to do for the RA8875, which I started to assemble and found some issues and some of the IO pins appeared to not...
  45. Replies
    7
    Views
    166

    Yes as @defragster mentioned, I do a lot IO pins...

    Yes as @defragster mentioned, I do a lot IO pins toggle or HIGH/LOW setting around functions and watch that pin on the logic analyzer.

    Also If I think something is going to go boom! And I print...
  46. Replies
    9
    Views
    180

    Again looks great I need to play with it! It...

    Again looks great I need to play with it!

    It can come in real handy!
  47. Replies
    9
    Views
    152

    Typically when I am working with RPIs, I am doing...

    Typically when I am working with RPIs, I am doing so by running them headless. So most of the time I talk to them through some terminal window. On Windows this is typically KiTTy (PuTTy).

    So...
  48. Replies
    7
    Views
    166

    Sorry, I have played a reasonable amount with DMA...

    Sorry, I have played a reasonable amount with DMA stuff and some timer stuff..

    But this is not something that is easy to debug, without a full setup and a lot of hair scratching.

    But in any...
  49. Replies
    9
    Views
    152

    What are you running on the RPI4? Raspian? ...

    What are you running on the RPI4? Raspian? Ubuntu? Version? 32 bit or 64 bit?

    So if the current download for 64 bit linux is: https://www.pjrc.com/teensy/td_152/TeensyduinoInstall.linux64
    I...
  50. Replies
    20
    Views
    6,419

    Yep I got that response on T4.1... void setup()...

    Yep I got that response on T4.1...
    void setup() {
    while (!Serial) ;
    pinMode(13, OUTPUT);
    Serial.begin(115200);
    delay(100);
    Serial.println(map(50, 1, 50, 50, 1), DEC);
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4