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

Search:

Type: Posts; User: BriComp

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    134

    Can you post your code between code tags, using...

    Can you post your code between code tags, using the # button.
    It makes it much more readable and you are more likely to get some help.
  2. Replies
    7
    Views
    134

    #include FlexCAN_T4

    #include <FlexCAN_T4.h>
    FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can1;
    #define sw1 35
    #define sw2 36
    void setup(void) {
    Serial.begin(115200);
    delay(400);

    Can1.begin();...
  3. Could you include your code?

    Could you include your code?
  4. Replies
    12
    Views
    229

    //================================================...

    //================================================== ======
    //==================Teensy Watchdog Timer Routine==================
    void Set_WatchDog_Timer() { // A CPU Independent WD Timer
    // This...
  5. Thread: Teensy Wifi?

    by BriComp
    Replies
    8
    Views
    274

    I use EByte E32, E220 ...

    I use EByte E32, E220 and E22 Lora modules.
    Quite easy to use and very long range.
    Communicates with Teensy via Uart.
  6. Replies
    12
    Views
    229

    There was some discussion about watchdogs earlier...

    There was some discussion about watchdogs earlier today and some code was presented. See https://forum.pjrc.com/threads/69330-Odd-request-How-can-i-lock-up-a-teensy-3-2
    I put that code together into...
  7. Replies
    162
    Views
    31,222

    New to this? You've been a member since Nov 2018....

    New to this? You've been a member since Nov 2018.
    When making a post, when you want to add some code, press the # button above.
    Type or paste your code between the [ CODE][/CODE ] tags generated....
  8. So what you meant is

    So what you meant is
  9. What do you mean by this?

    What do you mean by this?
  10. Replies
    162
    Views
    31,222

    /* Linear Timecode generation and decoding...

    /*
    Linear Timecode generation and decoding combined

    Please modify as needed

    (c) Frank B, 2020
    (pls keep copyright-info)

    To enable decoding:
    #define USE_LTC_INPUT
  11. Could you do something with a big base speaker?

    Could you do something with a big base speaker?
  12. Replies
    18
    Views
    221

    if (digitalRead(1) == HIGH) { xpdrMode =...

    if (digitalRead(1) == HIGH) {
    xpdrMode = 0; // OFF
    }
    else if (xpdrMode = 1); { // STBY
    }
    else (xpdrMode = 2); { // ON
    }

    Above is your code snippet formatted in a...
  13. Replies
    18
    Views
    221

    You have else if {. The syntax for if...else...

    You have else if {.
    The syntax for if...else if....else is shown below
    You are missing the (condition2) as in the example above.
    The (a=b) was just to show a condition statement.
  14. Replies
    18
    Views
    221

    if (currentMillis - previousMillis > interval) {...

    if (currentMillis - previousMillis > interval) {
    previousMillis = currentMillis;
    xpdrCode = getAtcFreq();

    if (digitalRead(1) == HIGH) {
    xpdrMode = 0; //...
  15. #include "QuadEncoder.h" #include ...

    #include "QuadEncoder.h"
    #include <SPI.h>
    #include <NativeEthernet.h>
    byte mac[] = {
    0x04, 0xe9, 0xe5, 0x0f, 0xb9, 0xcd
    };
    IPAddress ip(192, 168, 111, 44);
    EthernetServer server(80);
    ...
  16. Replies
    8
    Views
    170

    Please Post Code and Details In Your Question!...

    Please Post Code and Details In Your Question!
    Please follow the forum rules if you want help!
  17. Replies
    8
    Views
    170

    Show your software as per the forum rules.

    Show your software as per the forum rules.
  18. See Frank's note above

    See Frank's note above
  19. Is the Uni a Master or Slave? I suspect the...

    Is the Uni a Master or Slave? I suspect the former.
  20. Yes, would seem to be a good idea. At least...

    Yes, would seem to be a good idea.
    At least you will, perhaps, get a definitive answer.
  21. // -------------------------------------- //...

    // --------------------------------------
    // --------------------------------------
    // i2c_scanner
    //
    // Version 1
    // This program (or code that looks like it)
    // can be found in many places....
  22. Replies
    11
    Views
    295

    As far as I know BUILTIN_SDCARD is used for the...

    As far as I know BUILTIN_SDCARD is used for the "BuiltIn" Cards on T3.5,T3.6 and T4.1.
  23. Replies
    7
    Views
    285

    I tried PlatformIO but, as you say the learning...

    I tried PlatformIO but, as you say the learning curve seems rather steep. I just want to do some programming which is where the learning should reside. In the end I plumped for VisualMicro with...
  24. Replies
    7
    Views
    394

    I use Visual Studio (Community-Free)...

    I use Visual Studio (Community-Free) with VisualMicro.
  25. Replies
    10
    Views
    545

    I had no difficulty finding stock in Europe. The...

    I had no difficulty finding stock in Europe. The following have stock coolcomponents,Thepihut,Pimoroni
  26. Replies
    7
    Views
    370

    Why not use a battery back up. Something like...

    Why not use a battery back up. Something like this might be useful.
    This would allow you to detect power loss, save data, and go to sleep. With an 18650 battery sleep could last for years.
  27. If you have not already done so, you also need to...

    If you have not already done so, you also need to solder a crystal to the 3.2.
    https://www.pjrc.com/teensy/td_libs_Time.html
  28. Replies
    4
    Views
    376

    27008 You can use one of these...

    27008
    You can use one of these, shown above, to hold an 18650 battery and charge it from USB whilst also powering the Teensy from the PSU/Charger which plugs into the Teensy USB.
    So PC USB -> to...
  29. Replies
    4
    Views
    376

    You could use one of these...

    You could use one of these.
    Charges and gives 5v and 3.3v output.
    It can supply Teensy through the switched USB connector or via soldered connections.
  30. I would think that the biggest hurdle will be CE...

    I would think that the biggest hurdle will be CE approval. I believe that the T4.1 is a bit "noisy".
    As for the rest, if the product is not going to change over that 10 year period, then you can...
  31. It's will work with hot water circulating heat...

    It's will work with hot water circulating heat radiators. I already, when I put in the heating system, had many zones set up. I don't see the need to heat bedrooms in the day when they are not being...
  32. Welcome to Teensy, the forum is excellent for...

    Welcome to Teensy, the forum is excellent for support. The T4.1 is a fantastic beast!!
    I am using one, along with a Nextion 10" display. and T3.2/T3.1s as slave devices for a Home Heating Management...
  33. 26920 You are correct the typical current...

    26920
    You are correct the typical current consumption is 800mA,
    but a 5V2A power supply is recommended.
  34. Replies
    8
    Views
    589

    Oh, that's good.

    Oh, that's good.
  35. Replies
    8
    Views
    589

    Yes I was watching that, perhaps he caught Covid...

    Yes I was watching that, perhaps he caught Covid and did not survive.
  36. He has already said

    He has already said
  37. Replies
    1
    Views
    181

    I suspect that the Teensy is powering up too...

    I suspect that the Teensy is powering up too quickly for the PCA9655E. Also you are NOT waiting for the Serial (USB) to become fully initialised.
    I suggest you add the line "while (!Serial &...
  38. Replies
    10
    Views
    490

    I suspect that this ...

    I suspect that this will be useful.
  39. Replies
    23
    Views
    866

    Obviously because the code is written to suit the...

    Obviously because the code is written to suit the ESP. This may or may not be intentional, but it looks like something in your code is causing the Teensy to crash.
    If you post your code, or a small...
  40. Replies
    23
    Views
    866

    I agree a "Hardware independent" should be just...

    I agree a "Hardware independent" should be just fine. I was just trying to point out the hardware dependency with my post!
  41. Replies
    23
    Views
    866

    Would you expect a car to run if you put a petrol...

    Would you expect a car to run if you put a petrol engine in a diesel car with the same ancillaries? No, it would not work!!
    The same Here.
    You are also contradicting yourself. You have said "every...
  42. Replies
    10
    Views
    490

    If the conditions exist as explained in my post,...

    If the conditions exist as explained in my post, the Teensy WILL NOT go into bootmode when the USB is connected ONLY when the button is pressed!!
  43. Replies
    10
    Views
    490

    There is if the Teensy has gone to sleep or into...

    There is if the Teensy has gone to sleep or into some other non communicative condition, even if under program control!
  44. Replies
    5
    Views
    366

    Look at this ...

    Look at this and this and perhaps this.
  45. Replies
    8
    Views
    589

    Have a look at this...

    Have a look at this.
  46. Replies
    552
    Views
    119,751

    Debugging is available using Visual Micro...

    Debugging is available using Visual Micro as a programming interface for Teensy/Arduino/Esp. See here.
  47. Replies
    3
    Views
    318

    The Serial ports on Teensy are addressed as...

    The Serial ports on Teensy are addressed as Serialx where x is the port number. The first port is addressed as Serial1 using pins 0 and 1.
    The T3.6 has 6 serial ports in total. Rx6 and Tx6 are on...
  48. If you put your code between code tags (the # key...

    If you put your code between code tags (the # key above) it makes it easier for others to comprehend what you are doing and be able to help you. See below:-

    // A simple read/write example for...
  49. Replies
    15
    Views
    694

    26773 Click "Help" then "about" to find version...

    26773
    Click "Help" then "about" to find version number.
  50. Replies
    15
    Views
    713

    Those voltages are rather worrying!! Where did...

    Those voltages are rather worrying!! Where did you have the negative (black) lead of the multi-meter placed?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4