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

Merge Arduino Sketches (MIDI)

This is a very beginner level question. I need some guidance on how to merge these two sketches into one. I have only some very beginner level knowledge of Arduino language. I have successfully tested both sketches independently, I just need to…
nweston
  • 63
  • 1
  • 2
  • 5
0
votes
1 answer

Use Teensy 3.1 (ARM Cortex M4) with IAR

I am making a project with the Teensy 3.1 microcontroller. This Teensy uses the MK20DX256VLH7 Cortex-M4 processor, which is supported by IAR. However, Teensy only has examples for Arduino software (which I am not using) and avr-gcc (which I would…
Dan
  • 12,409
  • 3
  • 50
  • 87
-1
votes
1 answer

Button2 Library isPressed() method return inverted?

I am using two buttons on a teensy 4.1 MCU to control a robot. I want to add debouncing (and further stuff like longpress etc.) and decided on the library Button2 link to Repo, which is apparently quite popular for this type of tasks. The buttons…
-1
votes
1 answer

400 Bad Request while posting to InfluxDB with NativeEthernet

For a project we are trying to monitor a status protocol sent on local network over TCP and post these status messages over HTTPS to a InfluxDB instance on AWS at https://www.influxdata.com/products/influxdb-cloud/. We are using a teensy 4.1 with a…
-1
votes
1 answer

Send data from Adafruit Feather 32u4 Bluefruit LE to Teensy 3.6

I am trying to send data from Send data from an Adafruit Feather 32u4 Bluefruit LE to Teensy 3.6. I am trying to get data over Bluetooth to the Feather, then send that data to the Teensy. I have tried many different ways of Serial connections, but…
-1
votes
1 answer

How to pause python's for loop until Arduino responds

I've created a python code (Tkinter GUI) that is supposed to communicate with Arduino via serial communication. I have a table that I need to send over, column by column. but before I send the next column I need to wait for the Arduino to finish…
-1
votes
1 answer

use another serial to send data from arduino to processing

i need to use another serial to send data from arduino teensy to processing because default serial (Serial.begin(9600)) already used for big program i try to read some reference about how maybe i can change from which serial i want to receive…
-1
votes
2 answers

Where is Serial.begin() Serial.println("hi") supposed to output to?

I have a teensy in midi mode, and I thought Serial.begin(9600) and Serial.println("hello world") ; would show something in the console. It doesn't show anything. Where is Serial.println() supposed to output to? I would like to see feedback from my…
user1562431
  • 202
  • 2
  • 7
-1
votes
2 answers

A mm:ss timer C

Trying to make a timer in C which counts up in mm:ss format, I don't necessarily need to print the value, just have it exist to reference. The idea is a "time elapsed" clock on a teensy device, every second passed the timer goes up by 1 second, at…
Twisted Fate
  • 145
  • 1
  • 14
-1
votes
2 answers

How to use long file names on Teensy/Arduino SD Card Reader

Does anyone know if there is a way to get Arduino SD card readers to work with long files names (bigger than the 8.3 filename format)? I am currently trying read files from a Teensy 3.5 using the standard Arduino SD card library, and the file fails…
Nathan
  • 31
  • 2
  • 5
-1
votes
1 answer

Microcontroller SD card

I have a project with Arduino or Teensy where I need to read constantly bytes from a binary file "byte" buf=file.read() from an SD card and make an output with port manipulation (PORTD = buf, ... or PORTD = file.read() inside a loop) at some stable…
-1
votes
1 answer

C++ polymorphic Print function not resolving properly

I have created a class that abstracts a SPI flash chip library called SerialFlash by creating an abstract class of Print.h. When I try to print to this by using the ArduinoJson library, I get an error: src/FlashMemory.cpp:99:36: error: no matching…
cosmikwolf
  • 399
  • 7
  • 15
-1
votes
1 answer

Assign pointer to const

Here's what I'm doing: const uint16_t LAYERS_RIGHT[TOTAL_LAYERS][NBROW][NBCOL] = { {{c00, c10, c20, c30, c40, c50, c60}, {c01, c11, c21, c31, c41, c51, c61}, {c02, c12, c22, c32, c42, c52, c62}, {c03, c13, c23, c33, c43, c53, c63}, …
Olivier Pons
  • 15,363
  • 26
  • 117
  • 213
-1
votes
1 answer

Teensy USB in VirtualBox

yesterday i had a problem with my teensy usb in virtualbox getting random keystroke changes, however i fixed it and it works perfectly fine now (i hope, tested it 10 times). Heres the post if u are interested :) VirtualBox Keystroke gets random…
pharZyde
  • 9
  • 5
-1
votes
1 answer

Arduino keypad matrix example? ( teensyduino )

I'm a beginner using Arduino with a Teensy 3.2 board and programming it as a usb keyboard. I have two 4 button membrane switches. Their button contacts are on pins 1-8, and the 9th pin holds a soldered together wire of both membrane switches'…
sylcat
  • 151
  • 1
  • 3
  • 18
1 2 3
10
11