Thank you. It seems that pin is behind the SD card
I currently have the teensy in a box on a termination block
https://www.amazon.com/gp/product/B09NXYWYK7/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
...
I read this:
https://www.pjrc.com/teensy/jump_to_bootloader.html
But it does not seem to reference the teensy 4.1
Is this possible?
Is it as simple as shorting the VCC w ground for second?
I have built a button box around a teensy 4.1 and using the basic example code it works! However, the USB game control panel in windows calls it Serial/Keyboard/Mouse/Joystick. Where do I tweak the code to change the...
@ KrisKasprzak thank you for picking up my absentminded mistake. yes the variable I need to check is indeed inputBtn. The idea of blinking an LED was my solution to debugging so I could remove the serial.print. The...
This code correctly senses and prints the state of the button on the serial monitor:
byte btnPins = {
19,20,21,22,23
};
byte btnCount = 5;
byte inputBtn = 0;
byte buttonState = 0;
const int ledPin = 13;
I have succesfully compile and run various examples on a teensy 4.1. However, I am getting an error on using this library on a teensy 4.1
https://github.com/MHeironimus/ArduinoJoystickLibrary
I installed the...
@PaulStoffregen thank you. Is there a reference where I could read more about the difference between these two? Memory use? Location in memory (stack vs heap)?
Thank you for your reply. The buttons are wired with a pull-up resistor. So the circuit looks like
except there are no LED circuits but there are 5 buttons, each with its own resistor and going to its own pin.
I...
I am using this code to monitor 5 pushbuttons
int btnPins = {
19,20,21,22,23
};
int btnCount = 5;
void setup() {
for (int thisBtn = 0; thisBtn < btnCount; thisBtn++)
I'm using a teensy 4.1
I also noticed two different labels for the same com port to which the teensy is attached.
A regular com13 and a 'teensy port 13'
Bizarre.
I reboot my pc, the duplicate com ports went...