Questions tagged [teensy]

The Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects.

The Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects.
All programming is done via the USB port.
No special programmer is needed, only a standard "Mini-B" USB cable and a PC or Macintosh with a USB port.

Home page: https://www.pjrc.com/teensy/

155 questions
0
votes
1 answer

ROSSerial fails to sync with teensy device on ROS Noetic

I am using teensy with rosserial + ROS Noetic/Ubuntu 20.04 on RASPI4. The teensy code is implemented with ros_lib on platformio (https://platformio.org/lib/show/5526/...). The program compiles fine and uploads successfully on port /dev/ttyACM0.…
azad.wolf
  • 11
  • 4
0
votes
0 answers

Wrong Character received from UART?

I am new to Cortex M4 programming I am using teensy 3.2 board .I have connected it to PC using USB to TTL cable.I have written a code to transmit a character from Teensy UART to PC .I am using Dockight as terminal. The baudrate is 9600 for a 72MHZ…
huzi
  • 1
  • 1
0
votes
1 answer

Teensy as Serial device

I am using teensy 3.2 to program its K20 series microcontroller Mk20DX256 I have written a simple UART code to transmit a character 'U' from teensy to PC and see it on Docklight.I have disabled interrupt and DMA I have searched through web and found…
huzi
  • 1
  • 1
0
votes
1 answer

blinking led on teensy3.2 with arm programming

I am a newbie in arm programming. I am using teensy 3.2 which has MK20DX256 microcontroller chip and the led is connected to PTC5 of MC. I have written this code to blink the LED. The project builds without error but HEX file does not blink led. I…
0
votes
1 answer

No responses to Teensy after breadboarding and coding

I'm new to Arduino and electronics, and I bought a Teensy 3.2 for making a MIDI controller recently. I connected three buttons and one slide pot into a breadboard with the Teensy; modify some code from online; and already changed the USB type as…
Nickie
  • 1
  • 1
0
votes
1 answer

Arduino Teensy array of Bounce not actually updating

Im quite new to Arduino and C itself, but I can't figure out why the array does not work, while the sanity check does. It seems to me that both should operate fine. I'm guessing I'm missing some small bit of crucial info with regards to how arrays…
Koen Morren
  • 1,233
  • 2
  • 9
  • 12
0
votes
2 answers

Serial communication + mouse emulation with Teency

I would like to use the Teency 3.2 as a mouse and also use serial communication. I have to use the usb native port on the due to emulate the mouse. Is it possible to use serial communication on the native port? I would be very thankful if somebody…
zisosak
  • 53
  • 6
0
votes
1 answer

Android USB bulk transfer Teensy2++ slow update

I am sending data over to an Android 9 SBC, via rawhid on a teensy2++. I have managed to achieve two way communication however receiving the update is very slow, approx every half second. Here's the relevant code the I have working so far. I open…
Spriggsy
  • 196
  • 1
  • 18
0
votes
1 answer

Compiler looking for deleted constructor function in an argument when calling another function in C++

I am trying to control four different objects in a micro-controller (a sensor, a motor, a rotary encoder and a class in charge of the logic) with two functions that are mainly switch state statements, one that reads from the serial port and switches…
0
votes
2 answers

Uploading to a Teensy 4.0 via SparkFun FTDI Basic Breakout

I have a large project which is being controlled by a Teensy 4.0 and I accidentally broke off the mini-USB. I will probably buy a new one anyway, but I wanted to try uploading using the RX TX pins to learn how to do it. I have a SparkFun FTDI Basic…
0
votes
1 answer

Error a function-definition is not allowed here before '{' token : for teensy 3.2 arduino

void setup() { // SysEx Config Message Structure: 0xF0 # SysEx message start byte 0x14 # Manufacturer ID; 0x14 is actually Fairlight, but I don't forsee too many conflicts here... 0x01 # Knobber knob channel number 0x01 # Knobber button channel…
Bh1992
  • 1
  • 2
0
votes
2 answers

Using ADC on Teensy 3.6

I am trying to port a program I created on an Arduino Mega onto a Teensy 3.6. I used a clip of code I found to sample an audio signal and then run fast Fourier transform over it, but now that I am porting it the Teensy doesn't accept the way they…
0
votes
2 answers

Shift Register 74HC595 Output Current

I'm testing/debugging a C++ program that uses the 74HC595 shift register (Arduino Teensy3.2 @ 3.3V). I want to connect the 8 outputs of the SR back to 8 input pins on the Arduino board. My question is: would I need resistors between the output of…
Ross Kelly
  • 477
  • 1
  • 6
  • 23
0
votes
0 answers

Automated movement for character isn't working

I am trying to get a character to move automatically at random and bounce of walls. Theoretically the code that I have should work however the character just isn't moving. I get no errors and have tried to find a problem but come short. I fixed a…
Leptoflux
  • 43
  • 1
  • 8
0
votes
3 answers

"multiple definition of 'SomeFuction'". No idea how to fix

I'm writing an Arduino app (Using platformIO in VSCode), and including an external CAN library (FlexCAN_T4). I want to define all of my protocol / message handler callbacks in a separate file (protocol.cpp), and refer to them from my main file…
roach374
  • 61
  • 1
  • 6