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 TelegramBot = require('node-telegram-bot-api'); | |
const axios = require('axios'); | |
// Telegram's token | |
const token = 'your_telegrams_token'; | |
//OpenWeatherMap API key | |
const appID = 'your_openweathermap_api_key'; | |
// OpenWeatherMap endpoint for getting weather by city 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
#include <Wire.h> | |
#include <Servo.h> | |
#include <Adafruit_MLX90614.h> | |
Servo myservo1; | |
Servo myservo2; | |
bool repeat = true; | |
Adafruit_MLX90614 mlx; | |
void setup() { |