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
module quadencoderz | |
#( | |
parameter BITS = 32, | |
parameter QUAD_TYPE = 0, | |
parameter CLK_FREQ = 27_000_000, | |
parameter PPR = 400 | |
) | |
( | |
input clk, | |
input a, |
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
{ | |
"name": "jessTangNano9K", | |
"description": "my udp lateh config", | |
"boardcfg": "TangNano9K", | |
"transport": "UDP", | |
"ip": "192.168.10.71", | |
"enable": { | |
"pin": "69" | |
}, | |
"plugins": [ |
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 "rtapi.h" /* RTAPI realtime OS API */ | |
#include "rtapi_app.h" /* RTAPI realtime module decls */ | |
#include "rtapi_string.h" | |
#include "hal.h" /* HAL public API decls */ | |
/* module information */ | |
MODULE_AUTHOR("Jesse Schoch"); | |
MODULE_DESCRIPTION("Encoder Velocity for RIO encoder with z "); | |
MODULE_LICENSE("GPL"); |
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
{ | |
"name": "TangNano9K", | |
"description": "TangNano9K with 5Axis BOB over SPI", | |
"boardcfg": "TangNano9K", | |
"transport": "SPI", | |
"axis": 9, | |
"interface": [ | |
{ | |
"type": "w5500", |
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 adsk.core, adsk.fusion, adsk.cam, traceback, math | |
import sys, os | |
packagepath = os.path.join(os.path.dirname(sys.argv[0]), 'Lib/site-packages/') | |
if packagepath not in sys.path: | |
sys.path.append(packagepath) | |
#import numpy as np | |
#np = math | |
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
UnsatisfiableError: The following specifications were found | |
to be incompatible with the existing python installation in your environment: | |
Specifications: | |
- brotlipy -> python[version='3.10.*|3.4.*|3.6.12|3.6.12|3.7.10|3.7.10|3.7.12|3.7.9|3.6.9|3.6.9|3.6.9|3.6.9|3.7.*|3.9.*|3.8.*',build='1_73_pypy|2_73_pypy|3_73_pypy|5_73_pypy|5_73_pypy|1_73_pypy|0_73_pypy|0_73_pypy|4_73_pypy|0_73_pypy'] | |
- cffi -> python[version='2.7.*|3.5.*|3.6.*|3.6.12|3.6.12|3.7.10|3.7.10|3.7.12|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.6,<3.7.0a0|3.7.9|3.6.9|3.6.9|3.6.9|>=2.7,<2.8.0a0|3.6.9|>=3.5,<3.6.0a0|3.4.*',build='1_73_pypy|2_73_pypy|3_73_pypy|5_73_pypy|5_73_pypy|1_73_pypy|0_73_pypy|0_73_pypy|4_73_pypy|0_73_pypy'] | |
- cryptography -> python[version='3.10.*|3.6.12|3.6.12|3.7.10|3.7.10|3.7.12|3.7.9|3.6.9|3.6.9|3.6.9|3.6.9|3.8.*|3.7.*|3.9.*|3.4.*|>=3.5|<=3.3',build='1_73_pypy|2_73_pypy|3_73_pypy|5_73_pypy|5_73_pypy|1_73_pypy|0_73_pypy|0_73_pypy|4_73_pypy|0_73_pypy'] | |
- curl -> python=2.7 | |
- krb5 -> python |
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 <iostream> | |
void setup(){ | |
// put your setup here | |
std::cout << "in setup\n"; | |
} | |
void loop(){ | |
//put your loop here |
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 cadquery as cq | |
import math | |
pitch_diameter = 12 | |
blank_diameter = 12.995 | |
depth = 1.17 | |
#indicates angle | |
gear_blank = ( |
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 <Arduino.h> | |
#include <ModbusMaster.h> | |
#include <HardwareSerial.h> | |
#include <WiFi.h> | |
#include <ESPmDNS.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
#include <neotimer.h> | |
#include <SerialCommands.h> | |
// This defines ssid and password for the wifi configuration |
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 <Arduino.h> | |
#include <SimpleFOC.h> | |
#include <neotimer.h> | |
int led = 13; | |
int d = 200; | |
BLDCMotor motor = BLDCMotor(7); | |
BLDCDriver3PWM driver = BLDCDriver3PWM(25, 26, 27, 18); | |
//Pullup pullup = Pullup::INTERN; |