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

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. you can confirm that post...

    you can confirm that post https://forum.pjrc.com/threads/56597-Teensy-3-5-not-showing-up-on-Arduino-IDE-1-8-9?p=208307&viewfull=1#post208307 does not apply (i.e. no Arduino from Windows store)?
  2. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    You do not remove #include "TimeLib.h", as it is...

    You do not remove #include "TimeLib.h", as it is needed in your code.
    You need the #define HAVETM to tell the compiler, when he later includes uSDFS that it has already the structure tm defined....
  3. Replies
    2
    Views
    39

    have a look at...

    have a look at https://www.electronics-tutorials.ws/transistor/tran_7.html
    IMO,you need always a common ground
  4. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    Do not uncomment the define but use #define...

    Do not uncomment the define but use

    #define USE_MSC 0

    (Note sure what '#if USE_MSC==1' does later in the code, when USE_MSC is not defined)
  5. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    @pe1pwf The issue is with the timelib library,...

    @pe1pwf
    The issue is with the timelib library, which has an include file "Time.h" which conflicts with system library "time.h" (Windows only problem?)

    As I only need the tm struct from the system...
  6. AFAIK, setting Tools->USB Type sets the type for...

    AFAIK,
    setting Tools->USB Type sets the type for USB device, which is connecting the teensy to a PC USBHost
    if you attach to a teensy another USB device, for which you use the 2nd USB port as a USB...
  7. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    I typically use visualcode for editing. for...

    I typically use visualcode for editing.
    for compile I use sometimes makefile from visualcode but most Arduino ide, as download and terminal work better for me
    but for forum issues I only compile...
  8. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    The isr problem remis ported does not exist with...

    The isr problem remis ported does not exist with latest uSDFS (is there called sd_isr)
    Not sure about latest pe1pwf problem (the undeclared FRESULT)

    BTW, I changed effectGranular where done as...
  9. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    that is weird the lines before line 1085 read ...

    that is weird
    the lines before line 1085 read

    #ifdef USESD1 //uSDFS used for recording (edit uSDFS/utility/sd_config.h)
    #include "uSDFS.h" // uSDFS lib
    FRESULT rc; /* Result...
  10. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    Was out whole day #define USE_MSC 0 worked...

    Was out whole day

    #define USE_MSC 0
    worked for me, with Arduino IDE
    ( I see libuSDFS_ID2957.a: could there be a 2nd library?)
    Same with mAudioEffectGranular.
    I use the trick regularly:...
  11. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    I made some changes to the code 16829 I combined...

    I made some changes to the code 16829
    I combined the SD routines together
    I also changes the granular effect class to coexist with stock library
    The ff_utils files are not used and should be...
  12. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    it should, obviously you remove all includes ff.h...

    it should, obviously you remove all includes ff.h and ff_itils.h
    OK, I see you did not.

    I wiil later suggest mods to use bat detector with uSDFS (USESD1)
  13. Replies
    3,412
    Views
    369,401

    I will at least try, but without desperation.

    I will at least try, but without desperation.
  14. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    I repeat, what I said earlier, do NOT use uSDFS...

    I repeat, what I said earlier, do NOT use uSDFS together with SD and if you only need the tm2seconds or seconds2tm functions it is better to copy the function from ff_utils.h
  15. Replies
    3,412
    Views
    369,401

    If I wanted to try USB device on T3.6's 2nd USB...

    If I wanted to try USB device on T3.6's 2nd USB port, what do you recommend, to work on usb.c (from T4) or usb_dev.c (T3)?
    for the time being, I only need Seremu and MTP, so that should be...
  16. makes no sense. the reed switch is doing what?...

    makes no sense.
    the reed switch is doing what? switching the programming or do you have the reed on reset pin?

    for further comments, we need to see a complete program that generates the effect.
  17. deployment time is not the issue, but what is the...

    deployment time is not the issue, but what is the max sleep time, or better what is the sleep time where it does not work anymore?
    Also what means it is getting stuck? does it not wake-up od does...
  18. Replies
    3,412
    Views
    369,401

    On dual USB device: As I only use the data...

    On dual USB device:


    As I only use the data lines from USB- device, I will try that.
  19. Replies
    3,412
    Views
    369,401

    USBHost - USB Device

    Q. can the USB Host pads (D+ D-) that are at location of Old USB Device pad also be used vor USB device mode?
    Can a T4 have two USB device ports (one for programming and standard USB activity and...
  20. Replies
    15
    Views
    272

    Maybe, because your question is not clear? Are...

    Maybe, because your question is not clear?
    Are you sure you wanted to connect a USB-stick to a Teensy 3.2?
    How you wanted to do that?
    AFAIK, T3.2 is only a USB-Device and does not support...
  21. Replies
    3,412
    Views
    369,401

    Frank, is on the T4 the ribbon pointing forward...

    Frank,
    is on the T4 the ribbon pointing forward or backward?
    IOW, it fat cable is inserted, does it goes towards the USB connector or towards the botton?
  22. Replies
    3,412
    Views
    369,401

    maybe something like RD#, TD# ?

    maybe something like RD#, TD# ?
  23. Replies
    3,412
    Views
    369,401

    Q: Vin 3.5 to 5.2 Volts: So a power supply of 6V...

    Q: Vin 3.5 to 5.2 Volts: So a power supply of 6V does not work? (was using it for T3.6)
  24. Replies
    3,412
    Views
    369,401

    you could use SAI instead (this is as it also...

    you could use SAI instead (this is as it also called in NXP document)
    but dropping SAI as with actual card should be OK
  25. Replies
    3,412
    Views
    369,401

    Maybe this should be changed in post #4 as...

    Maybe this should be changed in post #4 as USBHost ehci does not work (hangs) for data transfer with buffers >=16k
    PR issued
  26. Replies
    3,412
    Views
    369,401

    Did you check USBHost to HDD with...

    Did you check USBHost to HDD with buffersize>=16k?
    AFAICS, the PR concerning the 16k buffer issue has not been merged in USBHost_t36
    (did not apply yet 1.47b4)
  27. Replies
    295
    Views
    5,925

    if there is a match, then there is a good answer

    if there is a match, then there is a good answer
  28. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    simply copy tm2seconds to sketch, or use stock...

    simply copy tm2seconds to sketch, or use stock time conversions
    I created tm2seconds because I did not like the arduino time library, but your mileage may vary.
  29. Thread: Bat detector

    by WMXZ
    Replies
    296
    Views
    26,457

    FRESULT is specific to uSDFS If you do bot use...

    FRESULT is specific to uSDFS
    If you do bot use uSDFS then you should also remove also all definitions in the main sketch.
  30. Replies
    295
    Views
    5,925

    may this be connected with the 16384 Byte limit...

    may this be connected with the 16384 Byte limit in aueue_Data_Transfer in ehci.cpp?
    (I know you said 8192 but i know FS is sending lager blocks (I recall a transfer of 64*512))
  31. Replies
    3,412
    Views
    369,401

    Removed all RTC code as this is now done with TD...

    Removed all RTC code as this is now done with TD (I assume also for T3.x)
    Also the access to sd_config.h is removed
  32. Replies
    3,412
    Views
    369,401

    Must still clean up the "_FS.ino" examples...

    Must still clean up the "_FS.ino" examples (sorry)
  33. Replies
    3,412
    Views
    369,401

    MSC on T4 with latest TD? Does someone from the...

    MSC on T4 with latest TD?
    Does someone from the MSC thread have MSC running with latest TD update?
    In my case my program logger_RawWrite stops when writing the first data buffer (64 blocks)
    I use...
  34. Replies
    3,412
    Views
    369,401

    Update: modified uSDFS to handle RTC also for T4

    Update:
    modified uSDFS to handle RTC also for T4
  35. Replies
    3,412
    Views
    369,401

    Will have a look

    Will have a look
  36. Replies
    3,412
    Views
    369,401

    Assuming there will be no kickstarter for the T4,...

    Assuming there will be no kickstarter for the T4, the question to PJRC (I mean Robin) is if you accept pre-release orders (don't care about final price)?
  37. Replies
    3,412
    Views
    369,401

    Not sure if Bill ported the T4 specific uSDHC...

    Not sure if Bill ported the T4 specific uSDHC code (for build-in uSD card) to his library (the "SdFat-beta/src/SdCard/SdioTeensy.cpp" only handles Teemsy3.5 3.6)
    So only SPI may be working
    Bill...
  38. Replies
    77
    Views
    25,975

    If you look up the code, you will see that rename...

    If you look up the code, you will see that rename (aka move) is not implemented.
  39. Maybe you try with the classic void setup()...

    Maybe you try with the classic


    void setup()
    {
    while(millis()<1000);
    Serial6.begin(31250);
    }
    to slow down (hold) setup() for some time before calling Serial6.begin
    All others have...
  40. Replies
    295
    Views
    5,925

    I realized that having the VolToPart in...

    I realized that having the VolToPart in sd_config.h could result in multiple declaration, so I moved it to uSDFS.h, which is only called by main thread.
    This way it can be changed without need to...
  41. Replies
    295
    Views
    5,925

    Is one possibility my reasoning was, that...

    Is one possibility
    my reasoning was, that sd_config.h would be edited to say which interface one is using (spi,sdio,usb) where one could also have 2 or more spi devices
    Also sd_config should be...
  42. Replies
    384
    Views
    77,508

    That could easily be tested, by moving int a[2] =...

    That could easily be tested, by moving int a[2] = {10, 20}; outside setup() or by making the array static "static int a[2] = {10, 20}; "
  43. Can also be an INPUT as in OP

    Can also be an INPUT as in OP
  44. First, you need to allocate some audio buffers...

    First,
    you need to allocate some audio buffers (in setup)

    eg

    AudioMemory(8);


    the number you put here depends on the complexity of your code
  45. Replies
    295
    Views
    5,925

    Added PARTITION VolToPart to sd_config.h

    Added PARTITION VolToPart to sd_config.h
  46. Replies
    3,412
    Views
    369,401

    So far only USB-Serial is implemented for T4,...

    So far only USB-Serial is implemented for T4, but Paul indicated, as soon he has reached a god point in HW devel....
  47. Replies
    295
    Views
    5,925

    Merged, pushed version to 1.1.1 and will update...

    Merged, pushed version to 1.1.1 and will update readme
  48. Replies
    3,412
    Views
    369,401

    Taking about USB host signals, do the T4 also...

    Taking about USB host signals, do the T4 also have pads to provide USB Device signals (as T3.x) ?
    Another Q: Is the SDIO oriented forward ot backward?
  49. Replies
    295
    Views
    5,925

    That is really great. please make a PR if you...

    That is really great.
    please make a PR if you are happy with testing.
    Walter
  50. Replies
    295
    Views
    5,925

    Good evening @KurtE, @mjs513, @defragster and ......

    Good evening @KurtE, @mjs513, @defragster and ...

    Agree, but have to take me a little bit back, to deliver for day job commitments (less fun, but nevertheless important)

    concerning this thread,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4