This file contains hidden or 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
# -*- coding: utf-8 -*- | |
"""WhatsApp.ipynb | |
Automatically generated by Colaboratory. | |
Original file is located at | |
https://colab.research.google.com/drive/1jyDKgWPj7_nwyhRKyvjpeGojLRU0VqqF | |
""" | |
!pip install wordcloud |
This file contains hidden or 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
import array | |
import supervisor | |
import sys | |
import time | |
import pulseio | |
import board | |
from adafruit_circuitplayground import cp |
This file contains hidden or 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
import serial | |
from flask import Flask, Response | |
# /dev/ttyACM0 is the USB interface to CPX on my Pi. It might be different for you, | |
# there are many resources on the web to help you find the correct interface. | |
SERIAL_PATH = '/dev/ttyACM0' | |
BAUDRATE = 115200 | |
TIMEOUT = 0.01 | |
SER = serial.Serial(SERIAL_PATH, baudrate=BAUDRATE, timeout=TIMEOUT) |
OlderNewer