www.kn34pc.com https://kn34pc.com/forums/ |
|
Teensy - общи въпроси https://kn34pc.com/forums/viewtopic.php?f=78&t=993 |
Страница 1 от 1 |
Автор: | LZ2WSG [ 16 Апр 2019, 01:51 ] |
Заглавие: | Teensy - общи въпроси |
Teensy v3.6 ... Blink Код за потвърждение: // Pin 11 has the LED on Teensy 2.0 // Pin 6 has the LED on Teensy++ 2.0 // Pin 13 has the LED on Teensy 3.0 // Pin 13 has the LED on Teensy 3.6 int led = 13; // the setup routine runs once when you press reset: void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second } Прикачени файлове: Teensy v3.6, 32 bit, 180 MHz, ARM Cortex-M4 processor, 3.3V |
Страница 1 от 1 | Часовете са според зоната UTC + 2 часа [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |