artistinfla
Member
I wrote a sketch to receive serial data, parse it and send then send control signals to a stepper.
The data is 12 pairs of numbers, steps and delay, comma separated and each group enclosed in "<>".
It receive
It worked perfect on the Uno.
With the teensy I had to apply 3.3 volts to bottom 3.3V pin by the button to get it to work
When I enter data from the keyboard it works fine and operates properly.
It is not showing the received RX data on the serial monitor nor sending any signals to the setepper when data is sent to RX TX pins
What am I doing wrong?
I noticed on the Serial example that #define HWSERIAL Serial1 ws used. I thought this was to create a virtual port.
Does the teensy default to serial port 1 like the UNO?
Do I need to enable TX RX pins 0,1 to receive data?
Attached is the code.
Why did I have to apply 3.3 v to the bottom 3.3V pin when I have 3.6 volts to Vin?
Thank you in advance
The data is 12 pairs of numbers, steps and delay, comma separated and each group enclosed in "<>".
It receive
It worked perfect on the Uno.
With the teensy I had to apply 3.3 volts to bottom 3.3V pin by the button to get it to work
When I enter data from the keyboard it works fine and operates properly.
It is not showing the received RX data on the serial monitor nor sending any signals to the setepper when data is sent to RX TX pins
What am I doing wrong?
I noticed on the Serial example that #define HWSERIAL Serial1 ws used. I thought this was to create a virtual port.
Does the teensy default to serial port 1 like the UNO?
Do I need to enable TX RX pins 0,1 to receive data?
Attached is the code.
Why did I have to apply 3.3 v to the bottom 3.3V pin when I have 3.6 volts to Vin?
Thank you in advance