I want to toggle directly the LED pin (pin 13) without using any library routines or any predifined constants. Has someone an example? Is it right that the pin13-toggle is on port 401B8000+4000+8C on the Teensy 40 and is bit 3 ? But the following code does not work
Code:
void loop() {
gpio_adr1=0x401b8000+0x4000+0x8c ;
*gpio_adr1=0x8 ;
delay(250) ;
gpio_adr1=0x401b8000+0x4000+0x8c ;
*gpio_adr1=0x0 ;
delay(250) ;
}