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

  1. There are MIDI examples in ::...

    There are MIDI examples in :: ...\hardware\teensy\avr\libraries\Audio\examples\Synthesis\

    Also the online GUI here :: pjrc.com/teensy/gui/?info=AudioSynthWavetable
    That link opens the first SYNTH...
  2. That seems like time wasting overkill that should...

    That seems like time wasting overkill that should not be needed? On T_3.2 years back when first working with the XPT2046 the simple samples with the ILI9341 worked well, there was one case where...
  3. Replies
    16
    Views
    129

    UPDATE :: CORRECTION>> wfi stops :: IntervalTimer myTimer;

    "wfi" stops the processor - so it stops the interval timer! p#2 above only seemed to work because USB processing the .printf() resulted in a WAKE from wfi.

    Opps This shows the nature of the...
  4. That display number may be ili9341 compatible -...

    That display number may be ili9341 compatible - but I don't recognize it.

    If it works with the indicated sample then that is a good indication and start.
  5. Idea was to use ILI9341Test from post #7 Then...

    Idea was to use ILI9341Test from post #7

    Then use the SPI lines from post #5 to get the correct SPI pin connect.

    May need to add the right value for SPI.setMISO( # ); for correct function
  6. Those were what is in the example indicated - try...

    Those were what is in the example indicated - try that example to see what happens.

    that will show what your hardware does when using the PJRC software.

    Errors above show the code in use is not...
  7. @Eagleman - what results show up with...

    @Eagleman - what results show up with '...\hardware\teensy\avr\libraries\XPT2046_Touchscreen\examples\ILI9341Test\ILI9341Test.ino' or other example code? Those use Teensy SPI and ILI9341_and...
  8. Replies
    16
    Views
    129

    A short delay(#) like 'SNOOZE' like function that...

    A short delay(#) like 'SNOOZE' like function that wraps 'wfi'. Rather than just 'wfi until interrupt' - it would be wfiNap(#) that repeats 'wfi' for a fixed time "#" in some fashion - though should...
  9. Replies
    16
    Views
    129

    Yes samples as noted in p#10 were first tested on...

    Yes samples as noted in p#10 were first tested on pin interrupt - because that is what the other forum post was about.

    As far as 'other' … not sure … in the doc it notes:


    Not sure if there is...
  10. Replies
    16
    Views
    129

    sample code in p#2 above does wake with an...

    sample code in p#2 above does wake with an interval timer - and it also wakes onpin interrupt - which is what I wrote for another thread forum answer when I decided to add WFI to it and saw millis()...
  11. Replies
    16
    Views
    129

    The doc is :...

    The doc is : nxp.com/docs/en/application-note/AN12085.pdf

    Doesn't look like it would offer any solution here - but it gives the proper way to get to 'System Idle' with WFI.

    Dropping...
  12. Examples for changing the SPI pins can be seen...

    Examples for changing the SPI pins can be seen commented in the cardinfo.ino :

    //UNCOMMENT THESE TWO LINES FOR TEENSY AUDIO BOARD:
    //SPI.setMOSI(7); // Audio shield has MOSI on pin 7
    ...
  13. Timing KurtE's dual subFrame example looked to me...

    Timing KurtE's dual subFrame example looked to me about 13 ms between half updates - 26 ms for a full screen. If you could split the screen then each alternate half can be updated about 76 FPS - but...
  14. Replies
    16
    Views
    129

    That means this "_VectorsRam[15] =...

    That means this "_VectorsRam[15] = my_systick_function;" code isn't getting run for some reason and EventResponder will also be disabled?


    extern "C" void systick_isr(void)
    {...
  15. Replies
    16
    Views
    129

    Indeed it is NOT - There was a note to that...

    Indeed it is NOT - There was a note to that effect recently - saying for WFI to work required some 'other' interrupt for it to wake. I had intermittent results over time - when the sketch...
  16. As noted - it has full support - and given a...

    As noted - it has full support - and given a battery it should work. There is a battery backed RTC as noted. Once running the time is kept 'locally' in the CPU.

    This isn't new and should have...
  17. Using the existing Time Library ::...

    Using the existing Time Library :: pjrc.com/teensy/td_libs_Time.html

    In T_4.0 using TeensyLoader will put the time at upload into the T_4.0 - though right now I'm seeing it off by an hour from...
  18. Good catch - that detail wasn't referenced here...

    Good catch - that detail wasn't referenced here either :(. I had a ready T_3.6 and it worked … also worked moving to T_4.0 … I have a properly usable _T_LC in arm's reach

    Moving to pin #2...
  19. I see that now, good. Will leave this as a...

    I see that now, good. Will leave this as a placeholder for the issue. When Beta 2 releases that thread will go idle and it may not get corrected.
  20. Replies
    16
    Views
    129

    Longer code with intervalTimer added - note I saw...

    Longer code with intervalTimer added - note I saw recently suggested a timer interrupt or something would keep "wfi" running where otherwise no interrupts occur to WAKE the T_4 - but it does not help...
  21. Replies
    16
    Views
    129

    "wfi" on Teensy 4.0 stops millis()

    Using "wfi" on Teensy 4.0 1062 has been odd - in use since noted during Beta with link to NXP doc - finally found an example showing even when it 'works' - it breaks millis() and micros(). And it...
  22. It may be seen here - perhaps put a note and link...

    It may be seen here - perhaps put a note and link to this thread on the TeensyDuino 1.52 Beta 1 thread.
  23. This code works on T_3.6 for the Pin...

    This code works on T_3.6 for the Pin 13==LED_BUILTIN LED with a switch on Pin 2 to GND - note added INPUT_PULLUP to pin 2.


    volatile bool LED_State = LOW;

    void setup() {...
  24. Is there an LED on pin #23? The Teensy LED is on...

    Is there an LED on pin #23? The Teensy LED is on LED_BUILTIN or 13.

    Also depending on how noisy the falling edge is delivered it may repeat multiple times - an even number of times will result in...
  25. Replies
    21
    Views
    1,446

    There is a PROPER Watchdog library implemented...

    There is a PROPER Watchdog library implemented now with updated TeensyDuino noted above it can do a normal reboot without hanging or the RTC wait overhead.

    WDT_T4-Watchdog-Library-for-Teensy-4
  26. So the battery at that voltage isn't able to...

    So the battery at that voltage isn't able to supply the needed current for T_3.6 start - and there was a voltage drop.

    Not sure what happens if this were put in setup() - for T_3.6 only - if it...
  27. Sample does build and run as before without...

    Sample does build and run as before without changes.
  28. Cool. Downloaded - will be a bit before I...

    Cool. Downloaded - will be a bit before I transition to it for a look.
  29. I did some mods - wanting to show I could...

    I did some mods - wanting to show I could selectively update one half or the other.

    No real complaints - nothing debugged or confirmed or cleaned up enough to share. I did set rotate==1 as my...
  30. Unsoldered pins will give unreliable connections...

    Unsoldered pins will give unreliable connections - if they work at all - more likely they will fail to work if unsoldered.
  31. On the Audio card bottom silkscreen what is the...

    On the Audio card bottom silkscreen what is the printed letter for "Rev"?

    Only the "Rev D" board works properly when directly pinned to the T_4.0.

    Images and pin details are noted on this page:...
  32. Short of an answer from Paul ... can only wonder...

    Short of an answer from Paul ... can only wonder about other active/essential elements on the PCB. What power does the bootloader MCU see? Is it sending a reset? The crystal or other?
  33. Thread: calculator

    by defragster
    Replies
    6
    Views
    163

    Looks like the handling of the #NumState vars are...

    Looks like the handling of the #NumState vars are not kept straight.

    Second goes to First not Third



    if (newKey != NO_KEY && (newKey == '+' )) {
    if (secondNumState == true) {
    ...
  34. Replies
    63
    Views
    20,227

    That will be nice! Extra RAM and speed. ...

    That will be nice! Extra RAM and speed. Including 20X USB device xfer. And some background DMA display updates might even make it real time usable?

    screen updates on ili9341 look to be ~53ms...
  35. @KurtE...

    @KurtE '...\libraries\ILI9341_t3n\examples\ili9341_t3n_UpdateAsyncCont_Test\ili9341_t3n_UpdateAsyncCont_Test.ino' WORKS! ::
    >> downloaded 'full_dma_chain' - 9341 plugged into T_4.1 with PJRC Purple...
  36. Replies
    21
    Views
    338

    That is important info … placed in post #19. ...

    That is important info … placed in post #19.

    simple matrix if the frets are wire individually. And probably other options given the isolation ...
  37. Replies
    6
    Views
    127

    Good choice as long as the loop() or calls to...

    Good choice as long as the loop() or calls to check for TCK's is called as often as you need accuracy in the timings as that is a polling check - not interrupt driven. So any delay() or tight loop or...
  38. Replies
    21
    Views
    338

    I think the button lib does that - strobes one...

    I think the button lib does that - strobes one axis while doing a scan read across the other. The problem may be the bridge continuity - as soon as one wire hits a fret - to some degree that will...
  39. Replies
    21
    Views
    338

    no - done minimal testing with touch - but on...

    no - done minimal testing with touch - but on single pads. This with ~2 dozen frets and then 6 strings that are bridged on one end.

    Seems like something other may have done in this context on the...
  40. Replies
    6
    Views
    127

    There may be other standard libraries usable -...

    There may be other standard libraries usable - but starting with this thread :: pjrc.com/threads/59112-TeensyTimerTool

    And using the :: github.com/luni64/TeensyTimerTool

    This built in library...
  41. Replies
    3
    Views
    77

    On that page it shows this correct detail in the...

    On that page it shows this correct detail in the 'Technical Specifications' list :: 3 CAN Bus (1 with CAN FD)

    If there is a repeat of info - it may be incorrect or just differentiating the CAN FD...
  42. The Teensy Spec Card shows VIN needs to be 3.6 to...

    The Teensy Spec Card shows VIN needs to be 3.6 to 5.5 Volts. So 5 Volts and 100 mA +/- will let that run.

    One of the Arduino IDE Tools option for the Board is setting speed for the resulting...
  43. Replies
    3
    Views
    75

    There is something else going on because this has...

    There is something else going on because this has been many times to work. The GND path through USB cable will be used in some situations - on a T_3.6 once had an RGB matrix here feeding over 1 Amp...
  44. Cool - the sample code works ! Formatted SD to...

    Cool - the sample code works !

    Formatted SD to ExFAT and on a T_4.0 I got ::

    5.9 times more characters for 7.6 times more numbers in 2.4 times more time.

    Adding:: if (ch == 'L') ...
  45. Replies
    21
    Views
    338

    Given the metal on metal at the bridge - it seems...

    Given the metal on metal at the bridge - it seems the nut at the top of the fretboard - if it has insulating properties as expected - would have the source signal applied between the tuning pegs and...
  46. Replies
    9
    Views
    284

    PJRC has yet to release a T_4.0 capable...

    PJRC has yet to release a T_4.0 capable bootloader chip for a New/RAW 1062, including the ones sourced on the production boards. It is pending and may not be too long in coming - depending on work...
  47. Put on three alternate T4's with working SDIO...

    Put on three alternate T4's with working SDIO under Arduino {loglow/frdm/PJRC_BETA} - none could mount an SD card - err -3. HEX upload worked then dropping the BIN on the exposed explorer device had...
  48. Replies
    21
    Views
    338

    Indeed chords would be right out - even playing...

    Indeed chords would be right out - even playing one string and holding any other string would be misinterpreted. Perhaps an electrically active Pick with force sensor.
  49. Thread: Midi 2.0

    by defragster
    Replies
    27
    Views
    2,525

    reading Paul's p#23 - it seems it needs to be...

    reading Paul's p#23 - it seems it needs to be established and commonly available to use an off the shelf device with support of a common OS.

    Until then following the spec might get something...
  50. Replies
    21
    Views
    1,446

    Great! ... p#16 was a bit short … by 'now' I...

    Great! ... p#16 was a bit short … by 'now' I meant to say … the current version of TeensyDuino as Paul indicated.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4