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
| #!/usr/bin/env python | |
| from adf4351usb import ADF4351 | |
| import numpy as np | |
| import rtlsdr | |
| import time | |
| import matplotlib.pyplot as plt | |
| import scipy.fftpack as sf | |
| #start = 390e6 |
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
| #!/usr/bin/env python | |
| import struct | |
| import sys | |
| fin = open(sys.argv[1], 'rb') | |
| fout = open(sys.argv[2], 'wb') | |
| bin = fin.read() | |
| fin.close() |
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
| #!/usr/bin/env python | |
| import numpy as np | |
| from pylab import * | |
| x = np.random.randn(65536) | |
| m=16 | |
| d0 = [0] * m | |
| d1 = [0] * m | |
| d2 = [0] * m |
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
| #!/usr/bin/env python | |
| import json | |
| import colorsys | |
| import math | |
| def hsv(h, s, v): | |
| r, g, b = colorsys.hsv_to_rgb(h, s, v) | |
| return (int(r*255)*256 + int(g*255))*256 + int(b*255) | |
| arr = [] |
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
| #!/usr/bin/env python | |
| import pyaudio | |
| import pylase as ol | |
| import numpy as np | |
| import sys | |
| import threading | |
| chunk = 1024 | |
| #chunk = 2048 | |
| CHANNELS = 2 |
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
| PICkit 3: | |
| Product ID: 0x900a | |
| Vendor ID: 0x04d8 (Microchip Technology Inc.) | |
| Version: 0.02 | |
| Serial Number: DEFAULT_PK3 | |
| Speed: Up to 12 Mb/sec | |
| Manufacturer: Microchip Technology Inc. | |
| Location ID: 0xfd120000 / 4 | |
| Current Available (mA): 500 |
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
| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
| <html> <head> | |
| <title>FlashAir GPIO Test</title> | |
| </head> | |
| <body> | |
| <p> | |
| <input type="button" id="on" value="On"> | |
| <input type="button" id="off" value="Off"> | |
| </p> | |
| <p> |
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
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <dirent.h> | |
| #include <math.h> | |
| #include <fcntl.h> | |
| #include <assert.h> | |
| #include <malloc.h> | |
| #include <sys/mman.h> | |
| #include <sys/types.h> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| short phase_err; | |
| short phase_err_int; | |
| short duration_count; | |
| short duration_exp; | |
| #define REFERENCE 10000000L | |
| static void | |
| dac_control_init() | |
| { |