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
// Electronics Projects Hub - https://electronicsprojectshub.com/ | |
// Subscribe : https://www.youtube.com/c/TechMaker1 | |
// --> https://electronicsprojectshub.com/category/arduino/arduino-projects/ | |
int led[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; | |
int input, i; | |
void setup() | |
{ | |
for (i = 0; i < 10; i++) | |
pinMode(led[i], OUTPUT); | |
//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
#!/usr/bin/env python | |
from flask import Flask #Importing the main class | |
from flask_ask import Ask, statement #Importing Alexa class | |
import picamera | |
from datetime import datetime | |
from crontab import CronTab | |
app = Flask(__name__) #Initializing the app | |
ask = Ask(app, '/') #Initializing Alexa functionality around app |
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
def hello_world(): | |
print 'Hello World! | |
hello_world() |