This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="lokator"> | |
| <span lang="sk"><form lpformnum="1"> | |
| <p align="center">Tvoj lokátor | |
| <input maxlength="6" name="lokators" value="JN98NT" size="7" style="text-align: center; border: 1px solid #aaa;"> | |
| <span style="margin-left:1em;">Lokátor protistanice</span> | |
| <input maxlength="6" name="lokatort" value="JN98CD" size="7" style="text-align: center; border: 1px solid #aaa;"><span lang="sk"> | |
| <input onclick="vypocet(this.form);" type="button" value="Výpočítaj" style="margin-left:1em;"> | |
| <span style="margin-left:2em; font-weight: bold;">Vzdialenosť | |
| <input name="vzdalenost" value="" size="5" style="text-align: center; border: 1px solid #aaa; font-weight:bold;"> | |
| km</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| LiquidCrystal Library - Hello World | |
| Demonstrates the use a 16x2 LCD display. The LiquidCrystal | |
| library works with all LCD displays that are compatible with the | |
| Hitachi HD44780 driver. There are many of them out there, and you | |
| can usually tell them by the 16-pin interface. | |
| This sketch prints "Hello World!" to the LCD | |
| and shows the time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This Code has extra features | |
| including a XY positioning function on Display | |
| and a Line Draw function on Nokia 3310 LCD | |
| It is modded from the original | |
| http://playground.arduino.cc/Code/PCD8544 | |
| */ | |
| // Mods by Jim Park | |
| // jim(^dOt^)buzz(^aT^)gmail(^dOt^)com | |
| // hope it works for you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void bsort(int *a, int n) | |
| { | |
| for (int i = 1; i < n; ++i) | |
| { | |
| int j = a[i]; | |
| int k; | |
| for (k = i - 1; (k >= 0) && (j < a[k]); k--) | |
| { | |
| a[k + 1] = a[k]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <IRremote.h> | |
| int RECV_PIN = A0; | |
| IRrecv irrecv(RECV_PIN); | |
| decode_results results; | |
| boolean red, green, blue, on; | |
| void setup() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <FlexiTimer2.h> | |
| #define GREEN 9 | |
| #define RED 6 | |
| #define BLUE 5 | |
| int redPin = RED; | |
| int greenPin = GREEN; | |
| int bluePin = BLUE; |
NewerOlder