Teensy 4.1 Ethernet Error: client.availableForWrite

Status
Not open for further replies.

jimmie

Well-known member
Hello:

The attached code runs without problems on my Teensy 4.0. I switched to a Teensy 4.1 primarily because of its superior Ethernet. But the same EXACT code now is not running.

As you can see in my code, I changed the library to "NativeEthernet". The code compiles and the 4.1 does get an IP correctly.

But the code than ran before is now giving the following error:

Client not availableForWrite from

Code:
if (!client.availableForWrite())

When I comment out that code, I get the error "Error with writeBuffer available" from

Code:
if (!writeBuffer.available())

I would appreciate the community's help because I prefer to use the Teensy 4.1 from now on for its Ethernet.
 

Attachments

  • RG15T41.ino
    14.6 KB · Views: 63
Status
Not open for further replies.
Back
Top