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
#define MAX_V 1023 | |
#define STEP_V 38 | |
int voltage = 0; | |
void setup() { | |
pinMode(0, OUTPUT); //P0 | |
pinMode(1, OUTPUT); //P1 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#NRF24L01 CircuitPython Badge Test | |
import board | |
import neopixel | |
import time | |
import struct | |
from adafruit_pybadger import pybadger | |
from digitalio import DigitalInOut | |
from circuitpython_nrf24l01.rf24 import RF24 | |
# set this to 0 or 1 for the two badges |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from PIL import Image | |
from random import randint | |
import random | |
import os | |
def full_random_image(): | |
image_name = random.choice(os.listdir("images")) | |
asset_image = Image.open("images/"+image_name) |
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
%% RF Propagation Simulation | |
%Tom Schucker | |
%% Set Custom Terrain | |
%terrain file (download from https://earthexplorer.usgs.gov/) | |
dtedfile = "n37_w122_1arc_v3.dt2"; | |
%data attribution | |
attribution = "SRTM 3 arc-second resolution. Data available " + ... | |
"from the U.S. Geological Survey."; |
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
%Tom Schucker | |
clear; | |
%% | |
c = 3e8; % Speed of light | |
M = 16; % Number of antennas in ULA | |
A = 2; % Amplitude of the desired signal | |
f = 2.4e9; % frequency in Hz | |
lambda = c/f; % Wavelength of desired signal |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder