PLUGGED, RX_READY and TX_READY are status bits that DT_HID copies from the hardware USB registers on each USB interrupt.
They allow your program to know the USB status.
But they do not control anything.
Why not just increment a variable, and only send data when it reaches 127.
Then it should send it once a second.




Bookmarks