You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this sketch is uploaded, nothing shows up on the serial monitor.
I looked at the code - found that the flex hardware arrays are not initialized right. For now my simple fix is adding a parenthesis to delimit the arrays.
Also, if initialization fails it's best not to proceed with the code. An infinite loop helps the user see the error messages & upload the code again without having to deal with the hung teensy.
I was in the process of updating the FlexIO library, to hopefully handle all of the Shifters and Timers. The manual mentions that there are 4 and 4 but actually there is 8 and 8...
Also There was some stuff off in the one of the sketches that was crashing as I was trying to print out the configuration registers, but I had not enabled the clock for all of the timers.
I just verified I can output one simple Flex Serial and read it back in on Serial using Beta Sparkfun Micromod.
you might check to see if the new stuff works now for you. Also can always send a PR and I can take a look and probably pull in.
When this sketch is uploaded, nothing shows up on the serial monitor.
I looked at the code - found that the flex hardware arrays are not initialized right. For now my simple fix is adding a parenthesis to delimit the arrays.
Also, if initialization fails it's best not to proceed with the code. An infinite loop helps the user see the error messages & upload the code again without having to deal with the hung teensy.
These changes are in my repo https://github.com/shreekumar3d/FlexIO_t4 . I can submit pull requests too.
Thanks for your work on this, btw. This is a good starting point for my exploration of the FlexIO on the Teensy.
The text was updated successfully, but these errors were encountered: