Forum Rule: Always post complete source code & details to reproduce any issue!
Page 4 of 4 FirstFirst ... 2 3 4
Results 76 to 83 of 83

Thread: Teensyduino 1.52 Beta #1

  1. #76
    Junior Member
    Join Date
    May 2018
    Location
    NYC
    Posts
    15
    I'm sorry if this is not the right place for this, but I've found this problem with our SD library that has already been fixed in the Arduino version of the SD library.

    The main problem is that SD.begin(BUILTIN_SDCARD) returns false when run a second time.
    The obvious solution is to potentially check if SD has already been running before calling SD.begin, but there doesn't seem to be an elegant way to do this.

    While investigating this I noticed that this problem has been fixed in the arduino version of the SD library such that you can call SD.begin as many times as you want. This fix is not present in the Teensyduino version of the SD library. I have tested the fix and it works fine:

    Code:
    boolean SDClass::begin(uint8_t csPin) {
      /*
    
        Performs the initialisation required by the sdfatlib library.
    
        Return true if initialization succeeds, false otherwise.
    
       */
    
      if(root.isOpen()) root.close();
     
      return card.init(SPI_HALF_SPEED, csPin) &&
             volume.init(card) &&
             root.openRoot(volume);
    }

  2. #77
    Junior Member
    Join Date
    Sep 2019
    Posts
    14
    Quote Originally Posted by Frank B View Post
    Ok, i'll deactivate simpledrum, too.
    Let me know if you have a new build to test.

  3. #78
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,570
    @Paul: https://forum.pjrc.com/threads/60344...ts-on-teensy-4
    @NuWaveIT: Oh, forgot ... I'll do that in the next days.

  4. #79
    Hello

    First of all I hope everyone here is ok.
    I know it's not the best time to ask for a feature, but is there any plan to support RGBW pixels in OctoWS2811 in 1.52 ?
    As mentionned here: https://twitter.com/PaulStoffregen/s...27583965925376 ?

    Best regards,
    And be safe!

  5. #80
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,486
    Quote Originally Posted by xavier.seingard View Post
    is there any plan to support RGBW pixels in OctoWS2811 in 1.52 ?
    For Teensy 4, yes, planned. But not coming in beta2.

    For Teensy 3, probably not.

  6. #81
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,486
    Quote Originally Posted by jensa View Post
    On OSX Catalina (versions 10.15.2 - 10.15.4), Teensyduino (1.51 and 1.52 beta) will appear to work until you open a menu. It takes a few seconds and then the program disappears.
    I can not reproduce this problem on my Macbook Air running Catalina 10.15.4.

    Click image for larger version. 

Name:	sc.jpg 
Views:	3 
Size:	170.1 KB 
ID:	19597

  7. #82
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,486
    Quote Originally Posted by Piachnp View Post
    I've found this problem with our SD library that has already been fixed in the Arduino version of the SD library.
    I've added this to my list of issues to fix in beta3.

  8. #83
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    354
    Please use 1.52-beta2.

    https://forum.pjrc.com/threads/60354...no-1-52-Beta-2

    Closing this thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •