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.05 seconds.

  1. Replies
    307
    Views
    7,976

    My guess is putPicture maybe only setup to handle...

    My guess is putPicture maybe only setup to handle rotation 0...

    I have never tried/used these, so not sure. Also only just played a little with the one RA8876 I have.

    I do know that when we...
  2. Replies
    22
    Views
    349

    Sorry for in advance off topic question: As I...

    Sorry for in advance off topic question:

    As I mentioned about a year ago in another thread...
  3. Replies
    4
    Views
    194

    For what it is worth, a sketch that I often use...

    For what it is worth, a sketch that I often use to check out hardware is a sketch that @defragster and myself kept adding different things to.

    You can alternate between either it setting all IO...
  4. I have not done much playing with it. But I know...

    I have not done much playing with it. But I know that @Paul was able to do some of this with the OctoWS2811 library to work with doing DMA to some of the pins.

    So first place to look might be at...
  5. Replies
    13
    Views
    168

    Yes with the changes I made quick and dirty, it...

    Yes with the changes I made quick and dirty, it still only goes to one place. There are a couple of easy fixes.

    a) Simply copy the print lines and make second copy that still outputs to Serial. ...
  6. Replies
    13
    Views
    168

    I did a quick and dirty edit of your program,...

    I did a quick and dirty edit of your program, note I did not try to compile it:

    #include <Wire.h>
    #include <Adafruit_Sensor.h>
    #include <Adafruit_BMP280.h>

    #define HC05Serial Serial3
    ...
  7. Replies
    13
    Views
    168

    Yes - Serial.print goes to USB connection....

    Yes - Serial.print goes to USB connection.
    Serial3.print goes to Serial3... (likewise for all of the hardware Serial ports)

    And again you need a call to begin with the baud rate. So something...
  8. Replies
    13
    Views
    168

    Dito with stuff mentioned by @defraster and...

    Dito with stuff mentioned by @defraster and @mjs513.

    What I am wondering is if I look at the schematic for the T3.2 version
    It looks like you have T3.2

    If I look at your HC-5 item on your...
  9. Replies
    4
    Views
    154

    Glad you have it working

    Glad you have it working
  10. Replies
    22
    Views
    349

    Yes it is sort of a chicken and egg issue. ...

    Yes it is sort of a chicken and egg issue.

    That is in your previous post you asked:

    So I pointed you to location in the manual the explains these registers. ;)

    And yes I do spend a bit of...
  11. Replies
    4
    Views
    154

    What is not working? I did a quick and dirty...

    What is not working?
    I did a quick and dirty program that opened Serial7 (pins 28 and 29)
    First I verified that it should be able to create that baud.
    Then I did simple output with counter...
  12. Just an example sketch... Modified their single...

    Just an example sketch... Modified their single sketch to handle 4 sensors two on Wire 2 on Wire1...

    Will probably extend more to try out some different things...


    #include <Wire.h>
    #include...
  13. I also just pushed up a branch to github:...

    I also just pushed up a branch to github: https://github.com/KurtE/vl53l0x-arduino/tree/multi_wire

    Which allows you pass in the wire object to use as an optional parameter to the constructor. I...
  14. Glad you got it working! FYI - I now have 4 of...

    Glad you got it working!

    FYI - I now have 4 of those sensors, as well as the VL6180X ones.
    For the fun of it, I extended the capabilities of the VL6... sensors to allow for things like, allow...
  15. Replies
    22
    Views
    349

    First thing I would suggest, is if you have not...

    First thing I would suggest, is if you have not already done so, you should download the reference manuals for the processors you are interested in. In this case T3.5 and T4.

    You can get these...
  16. Replies
    307
    Views
    7,976

    @mjs513 - I did a quick and dirty attempt again,...

    @mjs513 - I did a quick and dirty attempt again, and sure enough did not work... So will stay with option 1) Punt
  17. Replies
    8
    Views
    228

    Again it may really help to see your setup. I...

    Again it may really help to see your setup.

    I ran your code and it is showing some stuff on Logic Analyzer so I know SPI1 is doing something.

    But for example which IO pin are you using for...
  18. likewise you can use Serial.flush();

    likewise you can use Serial.flush();
  19. Replies
    307
    Views
    7,976

    @... I may not look at this for awhile, but as...

    @...

    I may not look at this for awhile, but as mentioned in last PR for the font test, we avoided using the system font in any other rotation than 0...

    But I think in theory it should be...
  20. You are welcome. We have all been there! And...

    You are welcome. We have all been there!

    And welcome.
  21. I don't know of any direct way to do this. You...

    I don't know of any direct way to do this. You could use another processor in between the T3.2 and display, where that processor talks to the display and uses whatever format you define to talk to...
  22. Replies
    8
    Views
    202

    Forgot to show an update logic analyzer output......

    Forgot to show an update logic analyzer output...

    21214

    Just an FYI - Most of the time now I use Saleae's new Alpha/Beta which has lots of new interesting stuff:
    I believe you can download...
  23. Replies
    8
    Views
    202

    Quick update, I put up a version in the branch:...

    Quick update, I put up a version in the branch: https://github.com/KurtE/SPI/tree/T4_transfer_transfer16_fix

    that tries to maintain the state of was last transfer 8 or 16 bits and if we are...
  24. Replies
    8
    Views
    202

    @Paul @Mithradir, @defragster and others, Again...

    @Paul @Mithradir, @defragster and others, Again I know the issue, I know ways to fix it, but not sure the best way to go...

    The current code for transfer16:


    uint16_t transfer16(uint16_t...
  25. Yes as you have discovered, Pins 16, 17, 20, 21...

    Yes as you have discovered, Pins 16, 17, 20, 21 on a Teensy 4 are NOT PWM pins.

    That is if you look at the card that came with Teensy or at the image up on the main website:...
  26. Replies
    8
    Views
    202

    Confirmed I am seeing it with your example... ...

    Confirmed I am seeing it with your example...

    Working on fix.
  27. Again follow on to my previous post (#4). I...

    Again follow on to my previous post (#4). I added back my (originally pilfered from @FrankB) that prints out more complete build memory information than the build does.
    Found I needed to update...
  28. Quick update as well. I also updated my version...

    Quick update as well. I also updated my version of the code that you can put into the build to show information as described in post #3 (I think). It uses updating the platform.txt file and prints...
  29. Replies
    119
    Views
    22,564

    Sounds good... For the heck of it I updated...

    Sounds good...

    For the heck of it I updated my version of the imxrt-size program to also include T4.1... Obviously someone else has already done this...

    I also slightly updated the config data...
  30. Replies
    119
    Views
    22,564

    @defragster - sometimes projects can be helpful,...

    @defragster - sometimes projects can be helpful, example doing a sketch that uses stuff from a few different folders.

    Example: Joystick test
    I have the main folder setup for the sketch

    I then...
  31. Replies
    119
    Views
    22,564

    Another interesting thing I have run into, is...

    Another interesting thing I have run into, is sometimes I create sublime-text Projects as a way to load up the different directories I am using for a build.

    So I open a directory, (example the...
  32. Again sort of hard to say with all of the...

    Again sort of hard to say with all of the information we don't have :D

    Actually I was looking every 10 minutes ;)

    memory space... Again depends on what all you are doing.

    But for example...
  33. Replies
    307
    Views
    7,976

    @mjs513 and ... I pushed up a version to my...

    @mjs513 and ...

    I pushed up a version to my branch with the PR that is sort of a combination between our two fixes.

    That is I do what you did and display something, I use the font you...
  34. Replies
    307
    Views
    7,976

    @mjs513 - I hacked mine slightly different, not...

    @mjs513 - I hacked mine slightly different, not sure which way is better.

    void loop()
    {
    Serial.printf("\nRotation: %d\n", test_screen_rotation);
    tft.setRotation(test_screen_rotation);
    ...
  35. Forgot to mention, there may be another...

    Forgot to mention, there may be another alternative, depending on your needs.

    That is the T4 and 4.1 have another subsystem FlexIO which you can setup code to probably do this pretty well.
    But...
  36. Replies
    307
    Views
    7,976

    @mjs513 - Totally! Which is why I punted ;) ...

    @mjs513 - Totally! Which is why I punted ;) Was thinking about

    a) having our test program not use this font in any other rotation than 0 and see if it still works.

    b)If not, is there...
  37. As for SPI using two SDO pins of the chip. ...

    As for SPI using two SDO pins of the chip.

    There may be possibilities of it on a T4.1, I am not sure how well it may or may not work.

    HOWEVER it will not work with the pins you mentioned...
  38. Replies
    307
    Views
    7,976

    @mjs513 and ... Ok, My fix in PR #6...

    @mjs513 and ...

    Ok,

    My fix in PR #6 appears to fix the GFX problem.

    Rotation: works and does not work.

    That is if you run the rotation test (RA8876Rotate) it appears to be working.
  39. Replies
    307
    Views
    7,976

    Me too... I know that at least at one point they...

    Me too... I know that at least at one point they were working.

    WIll take another quick look. My guess is one of our internal variables is not properly.
  40. Replies
    307
    Views
    7,976

    Yep it was there... And I was pulling out my last...

    Yep it was there... And I was pulling out my last few strands of hair. I then resorted to adding a #warning in the adafruit gfxfont.h file that said I was included...

    And the definitions were not...
  41. Replies
    307
    Views
    7,976

    EDIT: Found where I fixed in ST7735... //...

    EDIT: Found where I fixed in ST7735...

    // Lets see about supporting Adafruit fonts as well?
    #if __has_include(<gfxfont.h>)
    #include <gfxfont.h>
    #endif

    Will see about it in this library.
    ...
  42. Replies
    307
    Views
    7,976

    Yes it looks like some stuff is busted! Like you...

    Yes it looks like some stuff is busted! Like you mention GFX Fonts are not working.

    I am pretty sure it has to do with GFX font file format changing... LadyAda mentioned that it could be undone...
  43. Replies
    15
    Views
    632

    It will be interesting to see when you import...

    It will be interesting to see when you import from vBulletin to XenForo how much you can (or want) to retain the look at feel of current forum.

    Personally I wish we had the ability to easily see...
  44. Replies
    2
    Views
    125

    There are a few different naming conventions...

    There are a few different naming conventions going on.

    You can find all T3.x with check like:
    #if defined(KINETISK)

    T-LC with:
    #elif defined(KINETISL)


    Many boards are known by their...
  45. More on the above. The Adafruit check in...

    More on the above.

    The Adafruit check in stuff uses clang-format...

    As @Laydada mentioned in PR:


    So out of curiosity I tried running this on one of my own libraries (ili9341_t3n) on both...
  46. Replies
    794
    Views
    27,575

    Thanks, What may be interesting is to see if...

    Thanks,

    What may be interesting is to see if we can deduce some order of messages or the like. Example are we properly detecting it is a PS4. I will get back to looking at this soon, but been...
  47. Replies
    8
    Views
    228

    Sorry I may not be much help on some of this. As...

    Sorry I may not be much help on some of this. As I don't have these chips, nor have used this library...

    One of these days, this old dog will learn more new tricks and get more comfortable with...
  48. Replies
    7
    Views
    169

    For what it is worth, I think it should be fine,...

    For what it is worth, I think it should be fine, as it mostly figures out what hardware register to write to, convert your value to the appropriate value for that register and write it out... Nothing...
  49. Replies
    8
    Views
    228

    Sorry, I don't see anywhere in you code that says...

    Sorry, I don't see anywhere in you code that says you are using SPI1?
    I have not used this library, but my guess is that you need to change:

    MCP3208 adc1(ADC_VREF, CS1);
    MCP3208 adc2(ADC_VREF,...
  50. Replies
    11
    Views
    1,329

    Sticky: I think @defragster was suggesting maybe add a...

    I think @defragster was suggesting maybe add a new hook like the startup_late_hook,
    something like maybe reboot_teensy_hook that would also be weak and probably called by _reboot_teensyduino_
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4