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 os, struct, copy | |
import re | |
import pythoncom | |
from win32com.storagecon import * | |
import glob | |
import progressbar | |
from PcbLib.PcbLib import PcbLib | |
mode = STGM_READWRITE|STGM_SHARE_EXCLUSIVE|STGM_DIRECT |
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
void setup() | |
{ | |
Serial.begin(9600); | |
analogReference(INTERNAL); | |
delay(10); // wait a sec for the analog reference to stabilize | |
} | |
void loop() | |
{ |
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
# This file contains common pin mappings for the BIGTREETECH SKR mini | |
# E3 v1.2. To use this config, the firmware should be compiled for the | |
# STM32F103 with a "28KiB bootloader". Also, select "Enable extra | |
# low-level configuration options" and configure "GPIO pins to set at | |
# micro-controller startup" to "!PC13". | |
# The "make flash" command does not work on the SKR mini E3. Instead, | |
# after running "make", copy the generated "out/klipper.bin" file to a | |
# file named "firmware.bin" on an SD card and then restart the SKR | |
# mini E3 with that SD card. |
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 <cstdio> | |
#include <string> | |
#include <tuple> | |
#include <iostream> | |
#include <cassert> | |
#include <algorithm> | |
#include <cctype> | |
using namespace std; |
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
/* | |
SD card datalogger | |
This example shows how to log data from three analog sensors | |
to an SD card using the SD library. | |
The circuit: | |
* analog sensors on analog ins 0, 1, and 2 | |
* SD card attached to SPI bus as follows: | |
** MOSI - pin 11 |