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

Search:

Type: Posts; User: thebigg

Search: Search took 0.00 seconds.

  1. What happens if you add this to your source file...

    What happens if you add this to your source file


    time_t getTeensy3Time() {
    return Teensy3Clock.get();
    }
  2. Replies
    10
    Views
    156

    You are getting the warning because its...

    You are getting the warning because its converting 5636u to int16_t
  3. Replies
    13
    Views
    3,011

    I'm using linux and on my machine the file is...

    I'm using linux and on my machine the file is located at

    ~/.platformio/packages/framework-arduinoteensy/cores/teensy3/mk20dx128.c
  4. Replies
    9
    Views
    251

    On my machine with the same versions as you, it...

    On my machine with the same versions as you, it is installed here

    /usr/share/arduino/hardware/teensy/avr/libraries/Audio/Audio.h
  5. https://forum.pjrc.com/threads/61104-Firmware-upda...

    https://forum.pjrc.com/threads/61104-Firmware-update-without-button?p=247615&viewfull=1#post247615
  6. https://en.cppreference.com/w/c/string/byte/strtof

    https://en.cppreference.com/w/c/string/byte/strtof
  7. Replies
    4
    Views
    203

    The .pio directory is in the same directory as...

    The .pio directory is in the same directory as your platformio.ini
  8. Replies
    3
    Views
    167

    I believe only the digital pins have interrupt...

    I believe only the digital pins have interrupt capability.
  9. for (int i = 1; i < 10; i++) There is no memory...

    for (int i = 1; i < 10; i++)
    There is no memory allocation (from the heap) in the for loop. The stack pointer is just decremented by 4. There is no overhead or possibility of a leak.

    Depending...
  10. Replies
    3
    Views
    246

    I'm using a CR1220 to power the RTC on a few...

    I'm using a CR1220 to power the RTC on a few teensy 3.5s. I haven't had to replace the battery yet for about 15 months.
  11. Try this instead #define PACKED_STRUCT ...

    Try this instead

    #define PACKED_STRUCT struct __attribute__((packed))
    PACKED_STRUCT Test {
    uint16_t Data1;
    uint16_t Data2;
    uint16_t Data3;
    } ;

    Test MyData
  12. Replies
    10
    Views
    432

    You can track the amount of send buffer available...

    You can track the amount of send buffer available by calling int availableForWrite(void)
  13. Another open source ventilator design ...

    Another open source ventilator design

    https://gfxspeak.com/2020/03/26/resuscitates-design-respirator/
  14. As far as a ventilator goes, something like this...

    As far as a ventilator goes, something like this perhaps?

    https://techcrunch.com/2020/03/19/open-source-project-spins-up-3d-printed-ventilator-validation-prototype-in-just-one-week/
  15. Instead of reading/writing a single byte at a...

    Instead of reading/writing a single byte at a time, try reading/writing a 512 byte block
  16. Replies
    29
    Views
    1,565

    /* SPI.setCS(10); SPI.setMOSI(11); ...

    /*
    SPI.setCS(10);
    SPI.setMOSI(11);
    SPI.setSCK(13);*/

    Try removing the comments to actually use the code
  17. Hi Jeff The bike is 2014 Triumph Speed Triple....

    Hi Jeff

    The bike is 2014 Triumph Speed Triple. Uses the same CANbus enabled ECU as KTM, Aprilia, Ducati, Moto Guzzi.

    The ultrasonic sensors I am using need at least 60ms between pulses.
  18. [queued] SchmickBike: Teensy based motorcycle instruments and telemetry

    SchmickBike is a Teensy based platform for motorcycle instruments and telemetry.

    Controller.
    3D printed enclosure permanently installed under the seat of the bike. Houses a custom PCB with Teensy...
  19. Replies
    29
    Views
    1,565

    Open TLC5947.h in your favourite editor and have...

    Open TLC5947.h in your favourite editor and have a look...


    static uint8_t _rgb_order[][LEDS_PER_CHIP][COLOR_CHANNEL_COUNT];
    static uint16_t...
  20. Replies
    29
    Views
    1,565

    static const int _tlc_count; // The type of...

    static const int _tlc_count; //

    The type of _tlc_count in the header file is int, not uint8_t
  21. https://www.pjrc.com/teensy/td_libs_EEPROM.html

    https://www.pjrc.com/teensy/td_libs_EEPROM.html
  22. Replies
    6
    Views
    434

    In my experience gcc does a particularly poor job...

    In my experience gcc does a particularly poor job of handling heap fragmentation. I would avoid new/delete (as well as malloc()/free()) as much as possible unless you are absolutely certain that you...
  23. Replies
    106
    Views
    161,521

    Hi Tony I believe core-electronics source...

    Hi Tony

    I believe core-electronics source their teenys from adafruit
  24. the meaning of PROGMEM is different in 4.0 vs 3.x

    the meaning of PROGMEM is different in 4.0 vs 3.x
Results 1 to 24 of 24