Hello,
I supply Teensy 3.5 from 5V voltage regulator (78L05) connected to Vin.
Wanted to test ISR routine by connecting 3.3V/GND to INPUT.
I expected LED to light off after touching 3.3pin but i realized that 3.3V voltage is not there(measured zero).
How is that possible? It seems I use original board (compared to photos of counterfeits) and schematic shows 3.3V supplies everything onboard.
I tried to hook 5V/GND to few INPUT pins, but program does not call ISR. I was using external interrupts on Arduino Unu without any problem. This is my second question.
I can provide any other info if needed.
Thank you very much for any attempt to help.
source:
I supply Teensy 3.5 from 5V voltage regulator (78L05) connected to Vin.
Wanted to test ISR routine by connecting 3.3V/GND to INPUT.
I expected LED to light off after touching 3.3pin but i realized that 3.3V voltage is not there(measured zero).
How is that possible? It seems I use original board (compared to photos of counterfeits) and schematic shows 3.3V supplies everything onboard.
I tried to hook 5V/GND to few INPUT pins, but program does not call ISR. I was using external interrupts on Arduino Unu without any problem. This is my second question.
I can provide any other info if needed.
Thank you very much for any attempt to help.
source:
Code:
const byte pin_lcd_rs = 10;
const byte pin_lcd_en = 9;
const byte pin_lcd_d4 = 5;
const byte pin_lcd_d5 = 8;
const byte pin_lcd_d6 = 6;
const byte pin_lcd_d7 = 7;
const byte pin_led = 2;
const byte pin_hall = 25;
void isr_hall()
{
digitalWrite(pin_led, LOW);
}
void setup()
{
pinMode(25, INPUT);
pinMode(pin_led, OUTPUT);
digitalWrite(pin_led, HIGH);
pinMode(pin_lcd_rs, OUTPUT);
pinMode(pin_lcd_en, OUTPUT);
pinMode(pin_lcd_d4, OUTPUT);
pinMode(pin_lcd_d5, OUTPUT);
pinMode(pin_lcd_d6, OUTPUT);
pinMode(pin_lcd_d7, OUTPUT);
attachInterrupt(digitalPinToInterrupt(25), isr_hall, RISING);
}
void loop()
{
}