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
# Source: https://askubuntu.com/questions/912498/tl-wn722n-is-not-recognized | |
sudo apt-get install git dkms git make build-essential | |
cd /usr/src | |
sudo git clone https://github.com/lwfinger/rtl8188eu.git | |
sudo dkms add ./rtl8188eu | |
sudo dkms build 8188eu/1.0 | |
sudo dkms install 8188eu/1.0 | |
sudo modprobe 8188eu |
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 numpy import * | |
from scipy import * | |
from scipy.signal import * | |
from pylab import * | |
# Generate AM-modulated sinusoid | |
N = 256 |
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
# Makefile for programming the ATtiny85 | |
# modified the one generated by CrossPack | |
DEVICE = attiny85 | |
CLOCK = 8000000 | |
PROGRAMMER = -c usbtiny | |
OBJECTS = main.o | |
# for ATTiny85 | |
# see http://www.engbedded.com/fusecalc/ | |
FUSES = -U lfuse:w:0x62:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m |
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 | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
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 <SoftwareSerial.h> | |
// Pin definitions | |
const int rfid_irq = 0; | |
const int rfid_tx_pin = 6; | |
const int rfid_rx_pin = 7; | |
// For communication with RFID module | |
SoftwareSerial rfid(rfid_tx_pin, rfid_rx_pin); | |
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 <SoftwareSerial.h> | |
// Pin definitions | |
const int rfid_irq = 0; | |
const int rfid_tx_pin = 6; | |
const int rfid_rx_pin = 7; | |
// For communication with RFID module | |
SoftwareSerial rfid(rfid_tx_pin, rfid_rx_pin); |