I did not yet fully test, but after first fast test it seems to work as intended, the floats are correctly stored.
this stores the 4 bytes per float
byte* data_FW = (byte*)&FocusCalib;
for...
Thanks for the fast replies.
This gives just the read and write https://www.pjrc.com/teensy/td_libs_EEPROM.html
So I used those. (but maybe should look into put and get if they are available)
It is a float, so...
Yes and that is the a bit strange thing, when powered from computer via the USB connection no problems, and as I understand that should be limited to 500 mA. When powering from 500 mA good quality POLOLU DC converter*,...
After some more testing I think the problem is the 5V 500 mA power supply.
If everything connected and main power provided, the USB devices do not get power.
If the Teensy 4.1 is powered and connecting USB Hub, it...
Funny thing, if I use a USB hub in between the Loupe Deck live and USB Host, it gets power just fine, this is simple USB hub with no power it self.
Maybe the problem will be solved when I clear up the code. But...
This is a bit older code, but it works just fine when powered via USB, it has the USB_SER.begin(); is something else needed.
USBHost USB_SER;
USBHub hub1(USB_SER);
USBSerial_BigBuffer USB_serial(USB_SER, 1); //...
An other Teensy 4.1 usb host power question
I have similarly 5V to VIN.
It seems USB Host has power only if the normal USB is connected. If I disconnect the normal USB after power on the power remains on USB...
Is there some example how to do this? should it be here, how?
class HID_Input : public USBHIDInput {
public:
HID_Input(USBHost &host, uint32_t Usage = 0) : fixed_Usage_(Usage) { INIT(); }
uint32_t...
I rather get just the RAW data updates, and decide then what to do with that.
for a mouse 8 updates on the buffer would not be good, but not terribly bad either for most use, 8 ms update so 64 ms latency.
For some...
So do you think the mouse actually sends x and y zero at the end of the movement? and it is just missed somehow?
But over all I would rather just get all the data that belongs to the mouse and is relevant for the...
The actual data comes with these (also above)
case 0x010030: { mouse_tmp.MOV.x = value; } break;
case 0x010031: { mouse_tmp.MOV.y = value; } break;
case 0x010038: {...
Edit: ignore the below. After looking into my code, it is just the 700xx messages that arrives after mouse movement has stoped. That just triggers my code to reprocess the last received data.
I must look a bit more...
Working with the USBHost_t36.h, after updating to 1.58 Logitech wireless ERGO M575 started providing following messages constantly couple of times per second, I guess it is really sending those, and previously they just...