I doubt the code presented would even compile as
AccelStepper setEnablePin(enable_pin);
makes no sense. If it actually does compile it's surely not doing what you want
Check to see if your code includes something like this
while (!Serial);
Comment it out and try again.
Otherwise, check to make sure your power supply (+5V) is adequate. If the teensy is resetting without the USB connected then it might be power...
Quick update: I have some Async update working. However there appears to be something sticky on the mode or the like... That is If I do
the updateAsync (which does by interrupts), if I try to update screen again without FB, it does not...
Herewith the beta tested version of my latest project.
I used a Teensy4.1(T41) attached to my custom made board, to capture the overspeed of vehicles and then snap a picture of them.
The T41:
reads the vehicle speed,
takes a snapshot via an...
I've generally always used header strips and just cut off the pieces required. The 5 pin header between the 2 rows of 24 pins just needs to be filed to make it fit snugly.
Sorry for the delay. I was at the Teardown conference all day. Looking at this just now...
Sadly, it seems the spammers from India that plagued the old vbulletin server have returned. I had really hoped we would not need to block huge...
Did you try specifying the Wire instance to use in the constructor?
Adafruit_BNO055(int32_t sensorID = -1, uint8_t address = BNO055_ADDRESS_A,
TwoWire *theWire = &Wire);
Question: Does it make sense to start a new " SDRAM DevBoard 5 DIY " thread? this one at 47 pages is a bit long. Pros&Cons of course ...
Vote with a (y) Like for 'new thread' or :mad:
No problems after some spirited testing.
I had some questions offline why the free RAM1 increase from 49K to 149K was such a big deal for me. I have some code paths in my application that *require* 42K of stack, so the effective free headroom...
Hi @luni
I switched to newlib-nano and enabled _printf_float and _scanf_float. The difference is enormous
Before:
teensy_size: Memory Usage on Teensy 4.1:
teensy_size: FLASH: code:419516, data:281120, headers:8992 free for files:7416836...
There probably are good reasons to use newlib instead of newlib-nano by default. I'm just wondering because ARM developped it for use in embedded processors as opposed to newlib which is meant for linux. The missing float printf / scanf can be...
Even though the c++ compiler is passed switches like "-fnoexceptions -fno-rtti -fno-threadsafe-statics", the copy of libstdc++ that gets linked by Teensyduino was still built with exceptions enabled and includes a bunch of cruft associated with...
Wow. Just adding your stub to a current large project went from this
teensy_size: Memory Usage on Teensy 4.1:
teensy_size: FLASH: code:419516, data:281120, headers:8992 free for files:7416836
teensy_size: RAM1: variables:114624...
Since there are so many synth projects on this forum, yet just a few talk about controllers for synths, I would like to introduce you to one of the projects I've been working on for some time... and I'm trying to motivate myself to finish it...
Got it !!! Found it by accident:
solution:
void pxp_rotation(int r) {
if(!pxpStarted) {
Serial.println("You forgot to start PXP, use 's' to start.....");
} else {
memset((uint8_t *)d_fb, 0, sizeof_d_fb);
PXP_rotate_position(0)...
No. During startup all code that is not marked as FLASHMEM will be copied into RAM1 for maximum performance. Any code that does not have a type is treated as FASTRUN and copied to RAM1