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
1
vote
1 answer

VirtualBox Keystroke gets random changes

I have a school project about it security. My job is it to customize a hardware mouse with a usb hub and a teensy to program it. The code on the teensy gets executed when it gets dark (light dependent resistor). The code takes some files on the win7…
pharZyde
  • 9
  • 5
1
vote
1 answer

Save batch file on teensy

I own a Teensy 3.2, and I want to store a batch file on it. I found out, that Teensy has a 2kb EEPROM, where I could store it. The batch file is generating a .exe file with compiled C# inside. But now I have two problems: The batch-file is too big…
user5638730
  • 495
  • 2
  • 9
  • 22
1
vote
1 answer

ESP8266 + Teensyduino Web Server

Im using a Teensy 3.2 microcontroller paired with an ESP8266. Right now im just trying to serve a simple HTML web page that is updated with ajax. I can connect to the ESP and serve a page but im having trouble updating the page with XML data. The…
1
vote
2 answers

Detecting collision with sprites made of multiple pixel widths and heights

Context: Developing a small game on a microprocessor displayed on an LCD screen. I'm trying to fix this collision detection function, what it does is it detects collision between a wall sprite (1 x 25 pixels) and a player sprite (3x3 pixels). It…
James
  • 57
  • 1
  • 1
  • 4
1
vote
2 answers

Flash.h errors with Arduino 1.0.6 and Teensy 3.1 (Teensyduino, Version 1.20)

I have been am using Flash.h library from (http://arduiniana.org/libraries/flash/) Version 5 with Arduino 1.0.5 and teensy 3.1 without any issues. I had to upgrade to version 1.0.6 and now I am getting this error [removed path from…
Adonis
  • 86
  • 7
1
vote
1 answer

Opus audio codec on ARM cortex m4 microcontroller (Teensy 3.1) - GNU Auto tools

I'm trying to turn the Teensy 3.1 microcontroller into a compressed audio recorder, so I want to compress a buffer of raw audio data. After a research I found Opus Codec, an open source audio codec project that got ARM cortex M4 optimization, can…
zeevj
  • 121
  • 2
  • 7
0
votes
0 answers

read files on teensy via python on windows

I am working on a project to send data which is on an sdcard in a teensy 4.1, via the micro-usb port to a computer with pyton. Now I have my procedure can't of working but see that when the files become to big the python serial readline() does not…
RvN
  • 31
  • 1
  • 4
0
votes
0 answers

Two Teensy Microprocessor Connected via wire for digitalRead digitalWrite input, output not working

I'm stuck with the following issue, I want the LED matrix to only light up when the audio is playing from the first teensy (both 4.1) . . . Video of Issue! Unsure if the problem is in the code or the hardware
et_naej
  • 17
  • 5
0
votes
0 answers

Teensy LC GamePad Controller USB - Not detected in my Android phone

I try to use my custom controller (Teensy LC) with my android phone (S9). But it doesn't seem to be detected. It works on windows. I use a type-C dongle to have on outpout : HDMI and USB. The HDMI works. The Teensy LC on USB doesn't. Do you have any…
0
votes
0 answers

Teensy 4.1 Not Working with OnePinCapSense Library

When verifying my sketch in Arduino, I get the following error: d:\Documents\Arduino\libraries\OnePinCapSense-master\OnePinCapSense.cpp: In member function 'int…
Jesse
  • 1
  • 1
0
votes
0 answers

PlatformIO unable to resolve Keyboard / HID / PluggableUSB dependency?

My development environment consists of a Teensy 3.5, PlatformIO, and CLion. How can I make use of the standard Arduino Keyboard library? I'm working on a project to convert a previously RS422-based device to USB. Earlier on, I used the (sadly rather…
noughtnaut
  • 99
  • 5
0
votes
0 answers

Restarting Teensy LC everytime to establish connection with raspberry pi 4

I am using Teensy LC to send data (continuous sensor values) to raspberry pi 4 through serial communication, I'm using the raspberry pi only to run a GUI, that displays graph from Teensy. I'm using pyserial in rpi to read from Teensy. But each time…
0
votes
0 answers

Why does PlatformIO find dependencies only in build mode and not in test mode?

I have troubles with the unit test functionality of platformio. It is trying to include the dependencies from platformio.ini but fails. I am using this platformio.ini file: ; PlatformIO Project Configuration File ; ; Build options: build flags,…
tobeh
  • 1
  • 5
0
votes
1 answer

Teensy 3.1/3.2 - region `FLASH' overflowed by 86948 bytes while program is 40kb

I’m using Teensy 3.2 and cannot build my teensy code due to two warnings resulting in an error 1 return. Warning 1 - .pio/build/teensy31/firmware.elf section .text' will not fit in region FLASH’ Warning 2 - region `FLASH’ overflowed by 86948…
TomP
  • 3
  • 2
0
votes
0 answers

Problem with rclc implementation combined publisher and subscriber

Issue with the implementation of a publisher and subscriber in same program: I have both parts working individually. Meaning if I delete everything related to the subscriber, I can run the publisher and if I delete everything related to the…