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

Search:

Type: Posts; User: peter247

Search: Search took 0.00 seconds.

  1. The TimeAlarms library can you stop it triggering ?

    Hi , looking for a way to switch something on and off at the same time ( with a my need to alter ) each day and found the TimeAlarms library does this , but want to know if I can enable / disable or...
  2. Replies
    0
    Views
    93

    ILI9341_t3n.h problem on SPI1

    23695

    I've been trying to get the ILI9341 and touch screen to work for weeks and finally got it working with a slight problem.
    My problem is that redrawing a button corrupts it , this does not...
  3. I've had the touch screen working with the...

    I've had the touch screen working with the XPT2046_Touchscreen , until I moved from the default pins .
    Pull up resistors for CS pins , not done that and it worked on default pins ...

    What value...
  4. Compiling...

    Compiling .pio\build\teensy41\libf4f\Display\Display_helper.cpp.o
    lib\Display\Display_helper.cpp: In function 'void tft_init()':
    lib\Display\Display_helper.cpp:56:18: error: no matching function...
  5. I'm using this display which I think is a generic...

    I'm using this display which I think is a generic display sold everywhere :- https://hobbycomponents.com/displays/1003-2-inch-colour-tft-module-with-resistive-touch

    I've tried the examples , but...
  6. Yes I think it is any digital pin , I've seen...

    Yes I think it is any digital pin , I've seen that somewhere that CS and DC can be any digital pin on teensy 4.1 .
    Display easy , but getting the touch screen to work is a different matter , WHY ? ,...
  7. I've got the ILI9341 working on SPI1 with :- ...

    I've got the ILI9341 working on SPI1 with :-


    #define CS_PIN 0 // touch screen
    #define TFT_DC 9
    #define TFT_CS 10
    #define TFT_MOSI 26
    #define TFT_SCLK 27
    #define TFT_MISO 1
    #define...
  8. Replies
    2
    Views
    189

    Looks like you may be wrong on this one ? ...

    Looks like you may be wrong on this one ?

    Tried that and all I get is "C:\Users\peter\.platformio\packages\framework-arduinoteensy\libraries\XPT2046_Touchscreen/XPT2046_Touchscreen.h:46:7: note: ...
  9. Replies
    2
    Views
    189

    XPT2046 Library for SPI-1

    I want to use MQS and a ILI9341 Display so with the help of MichaelMeissner and KurtE I've managed to move to the SPI1 bus for the display , but found that my touch driver now doesn't work , which I...
  10. So the default pins for SPI1 to pass is pins...

    So the default pins for SPI1 to pass is pins 0/1/26/27 ?

    are CS and DC any digital pin and my problem pin is just MISO pin 12 ?.
    So need to use pin 1 , 26 , 27 and the CS pin is any ?

    #define...
  11. Thank you , So the ones mark with a 1 on the card...

    Thank you , So the ones mark with a 1 on the card are not alternates which can be used with the normal SPI library , but a second independent SPI bus SPI1 ?
    I will look for the ILI9341_t3n library...
  12. Teensy 4.1 MQS and the ILI9341_t3 library ?

    As seen it stated in a lot of threads that the MQS uses pin 10 and pin 12 , which is used by the default SPI.
    I've tried moving to the alternative SPI pins 26,27,38,39 , with the define the lot....
Results 1 to 12 of 12