This file contains 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
:local company TECHLABS | |
:local hostFTP HOST-FTP | |
:local portFTP 21 | |
:local userFTP usuario-FTP | |
:local passFTP senha-FTP | |
:local telegramId id-telegram | |
:global nomeMikrotik ([/system identity get name]) | |
:global versaoOS ([/system resource get version]) | |
:global arch ([/system resource get architecture-name]) |
This file contains 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
echo "deb http://download.webmin.com/download/repository sarge contrib" | sudo tee -a /etc/apt/sources.list | |
echo "deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" | sudo tee -a /etc/apt/sources.list | |
apt -y install gnupg | |
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - | |
apt -y update | |
apt -y install webmin apt-transport-https | |
https://ip:10000/ |
This file contains 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
<?php | |
/***************************** | |
* UPDATE FOR NILSON PESSIM / www.techinformatica.net.br (TechLabs working with 6.44.3) | |
* | |
* | |
* RouterOS PHP API class v1.6.1 | |
* Author: Denis Basta | |
* Contributors: | |
* Nick Barnes | |
* Ben Menking (ben [at] infotechsc [dot] com) |
This file contains 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 <SoftwareSerial.h> | |
SoftwareSerial Bluetooth (10, 11); | |
int led = 13; | |
void setup(){ | |
Bluetooth.begin(9600); | |
pinMode(led,OUTPUT); | |
} |
This file contains 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
const int r = 6; | |
const int g = 5; | |
const int b = 3; | |
void setup(){ | |
pinMode(r,OUTPUT); | |
pinMode(g,OUTPUT); | |
pinMode(b,OUTPUT); | |
} |
This file contains 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 <LiquidCrystal.h> | |
#include <DHT.h> | |
#define DHTPIN A5 | |
#define DHTTYPE DHT11 | |
DHT dht(DHTPIN, DHTTYPE); | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
byte grau[8] ={ B00001100, | |
B00010010, |
This file contains 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 <virtuabotixRTC.h> | |
virtuabotixRTC myRTC(6, 7, 8); | |
void setup() | |
{ | |
Serial.begin(9600); | |
// Uma vez setada a data e a hora, a linha abaixo deve ser comentada e o programa novamente carregado no Arduino. | |
myRTC.setDS1302Time(00, 58, 23, 2, 17, 11, 2014); | |
} |
This file contains 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 = 2; | |
IRrecv irrecv(RECV_PIN); | |
decode_results results; | |
void setup() | |
{ | |
Serial.begin(9600); | |
irrecv.enableIRIn(); |
This file contains 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 = 2; | |
int Led = 13; | |
IRrecv irrecv(RECV_PIN); | |
decode_results results; | |
void setup() | |
{ | |
Serial.begin(9600); |
This file contains 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 <LiquidCrystal.h> | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
void setup() { | |
lcd.begin(16, 2); | |
lcd.setCursor(0,0); | |
lcd.print("Blog Arduino"); | |
lcd.setCursor(0,1); | |
lcd.print("e Tecnologia"); | |
} | |
void loop() { |
NewerOlder