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...