Skip to content

Instantly share code, notes, and snippets.

View mayorquinmachines's full-sized avatar
🐶
working on muttmentor.com

Salma Mayorquin mayorquinmachines

🐶
working on muttmentor.com
View GitHub Profile
@mayorquinmachines
mayorquinmachines / VU Meter
Created October 27, 2018 02:04
arduino code for a simple VU meter using 10 LED channels and an electret microphone, provided by Electronics Projects Hub
// 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);
@mayorquinmachines
mayorquinmachines / app.py
Created April 6, 2018 20:36
Flask-ask tutorial sample application
#!/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
def hello_world():
print 'Hello World!
hello_world()