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

Search:

Type: Posts; User: thebigg

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    271

    Exactly....

    Exactly. https://forum.pjrc.com/threads/23681-Many-axis-joystick?p=258030&viewfull=1#post258030
  2. Replies
    197
    Views
    193,302

    See this link...

    See this link for a list of all the Teensy specific entries you can put in your platformio.ini to configure the build output
  3. You could try using this library...

    You could try using this library
    https://github.com/sstaub/TeensyID
  4. you should use the standard c function strcmp()...

    you should use the standard c function strcmp() to compare strings
  5. Can't say too much about the typing without...

    Can't say too much about the typing without seeing the decalarion of N64_status

    The "normal" way to use map is

    map(axis_x, axis_x_min, axis_x_max, -127, 127);
  6. Call these methods on Serial2 ...

    Call these methods on Serial2


    virtual void setRX(uint8_t pin) {
    virtual void setTX(uint8_t pin, bool opendrain=false) {
  7. 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();
    }
  8. Replies
    10
    Views
    315

    You are getting the warning because its...

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

    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
  10. Replies
    9
    Views
    445

    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
  11. https://forum.pjrc.com/threads/61104-Firmware-upda...

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

    https://en.cppreference.com/w/c/string/byte/strtof
  13. Replies
    4
    Views
    308

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

    The .pio directory is in the same directory as your platformio.ini
  14. Replies
    3
    Views
    275

    I believe only the digital pins have interrupt...

    I believe only the digital pins have interrupt capability.
  15. 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...
  16. Replies
    3
    Views
    333

    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.
  17. 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
  18. Replies
    10
    Views
    579

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

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

    Another open source ventilator design

    https://gfxspeak.com/2020/03/26/resuscitates-design-respirator/
  20. 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/
  21. 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
  22. Replies
    29
    Views
    1,843

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

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

    Try removing the comments to actually use the code
  23. 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.
  24. [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...
  25. Replies
    29
    Views
    1,843

    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...
  26. Replies
    29
    Views
    1,843

    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
  27. https://www.pjrc.com/teensy/td_libs_EEPROM.html

    https://www.pjrc.com/teensy/td_libs_EEPROM.html
  28. Replies
    6
    Views
    535

    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...
  29. Replies
    106
    Views
    164,366

    Hi Tony I believe core-electronics source...

    Hi Tony

    I believe core-electronics source their teenys from adafruit
  30. 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 30 of 30