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
import minecraft.minecraft as minecraft | |
import minecraft.block as block | |
mc = minecraft.Minecraft.create() | |
mc.postToChat("Hallo, here's your sphere") | |
radius = 6 | |
playerPos = mc.player.getPos() |
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
# pilife.py | |
# | |
# Jason Milldrum | |
# 18 Feb 2013 | |
# | |
# www.nt7s.com/blog | |
import minecraft.minecraft as minecraft | |
import minecraft.block as block | |
import numpy |
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
import urllib | |
import urllib2 | |
import xml.etree.ElementTree as ET | |
import datetime | |
class hamqth: | |
username = None | |
password = None | |
session_id = None | |
session_id_timestamp = datetime.datetime.now() |
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
import usbtmc | |
import serial | |
import time | |
import sys | |
import math | |
temperature = 0.0 | |
def printparams(): | |
# Get the elapsed time |
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 "si5351.h" | |
#include "Wire.h" | |
Si5351 si5351; | |
long a; | |
int inData; | |
void setup() | |
{ | |
// Start serial and initialize the Si5351 |
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
uint16_t varicode[] = { | |
0b1010101011000000, // 0 NUL | |
0b1011011011000000, // 1 SOH | |
0b1011101101000000, // 2 STX | |
0b1101110111000000, // 3 ETX | |
0b1011101011000000, // 4 EOT | |
0b1101011111000000, // 5 ENQ | |
0b1011101111000000, // 6 ACK | |
0b1011111101000000, // 7 BEL | |
0b1011111111000000, // 8 BS |
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 <si5351.h> | |
#include "Wire.h" | |
Si5351 si5351; | |
uint16_t varicode[] = | |
{ | |
0b1010101011000000, // 0 NUL | |
0b1011011011000000, // 1 SOH | |
0b1011101101000000, // 2 STX |
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 <si5351.h> | |
#include "Wire.h" | |
Si5351 si5351; | |
uint16_t varicode[] = | |
{ | |
0b1010101011000000, // 0 NUL | |
0b1011011011000000, // 1 SOH | |
0b1011101101000000, // 2 STX |
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 <si5351.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <math.h> | |
#include <Wire.h> | |
#include <DFR_Key.h> | |
#include <LiquidCrystal.h> | |
#define V_SAMPLE A1 | |
#define I_SAMPLE A2 |
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
/* | |
Si5351 VFO | |
By LA3PNA 27 March 2015 | |
This version uses the new version of the Si5351 library from NT7S. | |
see: http://arduino.cc/en/Reference/AttachInterrupt for what pins that have interrupts. | |
UNO and 328 boards: Encoder on pin 2 and 3. Center pin to GND. | |
Leonardo: Encoder on pin 0 and 1. Center pin to GND. |
OlderNewer