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
# | |
# Alexa | Plays despacito on "this is so sad alexa play despacito" (MIT) | |
# a reduced version of https://github.com/Rapptz/discord.py/blob/master/examples/basic_voice.py | |
# written 27 June 2019 | |
# | |
import asyncio | |
import discord | |
import youtube_dl |
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 "wm_crypto.h" | |
#define TWI_FREQ 400000L | |
#define EC_ADDR 0x52 | |
#define PACKET_SIZE 6 | |
#define REC_EV 0x01 | |
#define REQ_EV 0x02 |