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
//https://ru.stackoverflow.com/questions/424509/access-control-allow-origin-%D0%BF%D1%80%D0%B8-%D0%BF%D0%BE%D0%BF%D1%8B%D1%82%D0%BA%D0%B5-%D0%BF%D1%80%D0%BE%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B0-hls-%D1%81%D1%82%D1%80%D0%B8%D0%BC%D0%B0-%D0%B2-video-js | |
/* | |
Этот заголовок должен отдавать сервер в случае кросс-доменного запроса. | |
Заголовок выглядит так Access-Control-Allow-Origin: http://www.your.domain.name или, например, так Access-Control-Allow-Origin: *. | |
*/ | |
$.ajax({ | |
url: "http://localhost:8111/j", | |
dataType: 'json', |
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
Решение проблемы оказалось очень простое )) У меня была выставлена другая arduin-ка. | |
То есть, я пытался залить в arduino uno скетч по выбранной nano )) |
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
==> http://arduino-diy.com/arduino-tsifrovoy-datchik-temperatury-DS18B20 | |
==> http://arduino-project.net/podklyuchenie-ds18b20-arduino |
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
//==> http://edurobots.ru/2015/02/arduino-dlya-nachinayushhix-urok-9-podklyuchenie-datchika-temperatury-i-vlazhnosti-dht11-i-dht22 | |
//==> http://edurobots.ru/wp-content/uploads/2015/02/dht-600x339.jpg | |
#include "DHT.h" | |
#define DHTPIN 2 // номер пина, к которому подсоединен датчик | |
// Раскомментируйте в соответствии с используемым датчиком | |
// Инициируем датчик | |
DHT dht(DHTPIN, DHT22); | |
//DHT dht(DHTPIN, DHT11); | |
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
==> http://stackoverflow.com/questions/4761913/server-socket-receives-2-http-requests-when-i-send-from-chrome-and-receives-one | |
Пару часов разбирался с тем, что хром при обращении к сайту посылает два запроса, один к данный, второй к иконке. | |
В результате чего сервер отвечал два раза на запрос, пипец... |
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
==> http://geekelectronics.org/arduino/arduino-ndash-peredacha-dannyih-po-radiokanalu-na-chastote-433-920-mgts.html |
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
==> http://zelectro.cc/relayModule | |
[зеленая лампочка] + | - | data красная лампочка<br> | |
<del>левый</del> средний к одному правый к другому контакту питания |
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
http://arduino.ru/ |
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
==> http://arduino-diy.com/arduino-fotorezistor | |
==> http://www.arduino-diy.com/pictures/52-10.jpg |
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
rem Операции подстановки ссылок на переменные команды FOR также расширены. | |
rem Допускается применение следующих синтаксических конструкций: | |
rem | |
rem %~I - из переменной %I удаляются обрамляющие кавычки (") | |
rem %~fI - переменная %I расширяется до полного имени файла | |
rem %~dI - из переменной %I выделяется только имя диска | |
rem %~pI - из переменной %I выделяется только путь к файлу | |
rem %~nI - из переменной %I выделяется только имя файла | |
rem %~xI - из переменной %I выделяется расширение имени файла | |
rem %~sI - полученный путь содержит только короткие имена |