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

Search:

Type: Posts; User: KD0RC

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    237

    Hi Sean, data can be stored in flash memory. ...

    Hi Sean, data can be stored in flash memory. Look up PROGMEM in the Arduino reference to see how it works. I don't know the relative speeds of SD card vs flash memory, but you could write a quick...
  2. Hmmm... So the fillTriangle without the canvas...

    Hmmm... So the fillTriangle without the canvas works? I am unfamiliar with the canvas, but maybe that is the place to look. Could the x and y parms be backwards in the canvas?
  3. On the fillTriangle, change 272 to 320 and see if...

    On the fillTriangle, change 272 to 320 and see if that helps.
  4. Replies
    5
    Views
    177

    I use my Teensy to control a Software Defined...

    I use my Teensy to control a Software Defined Radio (Flex 6400 Ham Radio). I am active on the ham bands from 1.8 MHz up to 54 MHz. I found the 24 MHz clock in the Teensy with the receiver, but it...
  5. Replies
    5
    Views
    167

    Hi Tim, yes, you can measure the Din voltage with...

    Hi Tim, yes, you can measure the Din voltage with a multimeter. I saw your video, and it looks like your Teensy is working properly. The ten second reset reloads the demo blink program, so you are...
  6. Replies
    10
    Views
    271

    One other thing you can try is setting the Teensy...

    One other thing you can try is setting the Teensy clock speed down to test your theory that it is the faster processor. Go to Tools, CPU Speed and set it down to 150 MHz which will be in the...
  7. Replies
    5
    Views
    167

    Hi Tim, The Teensy is not 5V tolerant. The I/O...

    Hi Tim, The Teensy is not 5V tolerant. The I/O pins must never see more than 3.3V. You are powering the LED strip from 5V which is only OK if 3.3V or less is present on the Din pin of the LED strip...
  8. Replies
    6
    Views
    126

    OK, thanks for the information KIIV, I really...

    OK, thanks for the information KIIV, I really appreciate it.
    Len
  9. Replies
    6
    Views
    126

    Update: I looked up the 74HCT4051, and it CAN be...

    Update: I looked up the 74HCT4051, and it CAN be used with a 3.3V supply. If you use it, do not power it from 5V, power it from 3.3V. Sparkfun also makes an 8 channel MUX using this chip.
  10. Replies
    6
    Views
    126

    I don't think you want to use a 5 V device on a...

    I don't think you want to use a 5 V device on a Teensy 4. I have had very good luck with the Sparkfun Mux boards with my Teensy 4.1. They will run on 3.3 V (Teensy safe) and have 16 analog or...
  11. Replies
    10
    Views
    271

    Hmmm... What type does Servo1.read() return? I...

    Hmmm... What type does Servo1.read() return? I see that you have sumServo1 declared as a float. Can all of this be done with int or long instead of float? I am thinking of rounding errors...
    Len
  12. Replies
    15
    Views
    656

    Hi Jake, Here is how I use NativeEthernet. I...

    Hi Jake,
    Here is how I use NativeEthernet. I can get a connection whether there is a DHCP served address or not. It does rely on me hardcoding a known good address in the event of no DHCP. In my...
  13. Replies
    10
    Views
    271

    Put a print statement in to show timeout as the...

    Put a print statement in to show timeout as the first statement of 'if(timeout > 100000)'. I think you will find that the if statement is being hit with different values of timeout (all over...
  14. @kg4rul I have had similar issues. In my case, it...

    @kg4rul I have had similar issues. In my case, it is a cheap 4 port hub that has trouble providing the current. If I plug directly into the laptop, it has no problems at all. If I plug my project...
  15. Replies
    142
    Views
    11,126

    It worked perfectly! Thanks for sticking with me...

    It worked perfectly! Thanks for sticking with me on this, I really appreciate it.
    Len
  16. Replies
    142
    Views
    11,126

    Ok, thanks for that insight, I will adjust...

    Ok, thanks for that insight, I will adjust accordingly. I still have the problem where an Ethernet.begin(mac) followed by Ethernet.begin(mac, ip) in the case of no DHCP server connects briefly, then...
  17. Replies
    142
    Views
    11,126

    @vjmuzik Hi vj, I loaded the latest library from...

    @vjmuzik Hi vj, I loaded the latest library from Github, but it did not solve my issue (- Allow using Ethernet.begin(mac, ip) after Ethernet.begin(mac) if dhcp fails). If I go straight to...
  18. Thanks vj, I will give it a shot this afternoon....

    Thanks vj, I will give it a shot this afternoon.
    Len
  19. Thanks vj, I really appreciate it. Len

    Thanks vj, I really appreciate it.
    Len
  20. The problem is solved... I can't call...

    The problem is solved... I can't call Ethernet.begin() looking for a DHCP served IP address, fail, then call it again setting a fixed IP address. @Rya asked the same question in another thread and...
  21. Here is version that will compile: // Test...

    Here is version that will compile:


    // Test of NativeEthernet - trying to get a good ip address

    #include "NativeEthernet.h"

    #define BAUD_RATE 115200

    String addr;
  22. Hi Pete, this is part of thousands of lines of...

    Hi Pete, this is part of thousands of lines of code. Let me see if I can put something together that is short but will compile and illustrates the issue.

    Thanks,
    Len
  23. Teensy 4.1 NativeEthernet fixed address problem

    I have a T4.1 and it works great if I am connected to a router at home. It gets a good DHCP served IP address and connects to the server (a Flex radio). Traffic passes bidirectionally, and life is...
  24. Hi Kurt, I am using your t3n library on an HX8357...

    Hi Kurt, I am using your t3n library on an HX8357 based display with great results! One thing I have not been able to find is a way to display a .bmp or .jpg file. I did see where you convert a...
  25. Replies
    3
    Views
    230

    AH! Thanks VJ, I really appreciate that. I...

    AH! Thanks VJ, I really appreciate that. I included your code in my program, and it worked! I now have two devices connected to the same SDR radio and communicating properly. I really appreciate...
  26. Replies
    4
    Views
    263

    I was really just providing an approach. ...

    I was really just providing an approach. millis() may not be available in your library, but check around for something similar. At the very least, you may find a register for the chip you are...
  27. That is not a bad way to go. I often disable pin...

    That is not a bad way to go. I often disable pin interrupts at the beginning of the interrupt service routine so that contact bounce does not cause multiple nested interrupts. At the end of the...
  28. Replies
    4
    Views
    263

    Do you have access to the number of milliseconds...

    Do you have access to the number of milliseconds since startup? If so, I do this kind of thing:

    TimeIt = millis(); // millis function returns number of ms since device start or reset
    ...
  29. Replies
    3
    Views
    230

    Teensy 4.1 MAC Address

    I have my Teensy 4.1 working (for the most part...) but it does not seem to have a MAC address. If I feed NativeEthernet a legitimate MAC address for another device, DHCP serves up a nice ip address...
  30. Replies
    4
    Views
    405

    Thanks, Paul, I will let him know. "All I did...

    Thanks, Paul, I will let him know. "All I did was make the hardware..." Nice bit of HW! Built in Ethernet, smaller, WAAAAY faster and cheaper than the Arduino DUE. Kind of says it all...
  31. Replies
    142
    Views
    11,126

    I just ported an app from a DUE/Ethernet shield...

    I just ported an app from a DUE/Ethernet shield combo to the Teensy 4.1. Except for me causing my own problems by putting a lib in the wrong place, the port went extremely smoothly. The...
  32. Replies
    4
    Views
    405

    I just ported an app from a DUE/Ethernet shield...

    I just ported an app from a DUE/Ethernet shield combo to the Teensy 4.1. Except for me causing my own problems by putting a lib in the wrong place, the port went extremely smoothly. The...
  33. I got it working. It was a broken wire. When it...

    I got it working. It was a broken wire. When it was on the default pin, all was well. When I moved it to the allt pin, it did not work.
  34. Teensy 3.6 with HX8357 and Audio Shield - Alt SPI pins

    I am planning on using the Teensy 3.6 with the Adafruit HX8357 board and the PJRC Audio Shield. Both devices work great independently, but not together. I am trying to move the tft SPI pins to:...
  35. Replies
    3
    Views
    438

    Thanks Paul, that is what I have been doing, but...

    Thanks Paul, that is what I have been doing, but it feels a little haphazard. I will get used to it... I really like the Teensy 3.6. To think the I have a 180 MhZ M4 board in a form factor barely...
  36. Replies
    3
    Views
    438

    Teensy/Arduino library documentation

    I am new to Arduino and Teensy, but have coded in several languages (not C, C++ or variants) and have done a lot with various Atmel chips. So far, I am getting along ok with the basics, but what I am...
Results 1 to 36 of 37