Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Epler jepler

View GitHub Profile
View foo.patch
From 1a5d57a5102c67358affbfd1560ccbbf692deddc Mon Sep 17 00:00:00 2001
From: Jeff Epler <jepler@gmail.com>
Date: Thu, 19 Jan 2023 07:57:06 -0600
Subject: [PATCH] clear bspi fifos before starting fifo writes
---
src/hal/drivers/mesa-hostmot2/bspi.c | 24 ++++++++++++++++++------
src/hal/drivers/mesa-hostmot2/hostmot2.h | 1 +
2 files changed, 19 insertions(+), 6 deletions(-)
View factor.py
import itertools
import sys
def erat2():
D = {}
yield 2
for q in itertools.islice(itertools.count(3), 0, None, 2):
p = D.pop(q, None)
if p is None:
View factor.py
import itertools
import sys
def erat2( ):
D = { }
yield 2
for q in itertools.islice(itertools.count(3), 0, None, 2):
p = D.pop(q, None)
if p is None:
D[q*q] = q
View subprojects-urls.txt
https://docs.circuitpython.org/projects/pcd8544/en/latest/index.html
https://docs.circuitpython.org/projects/displayio-sh1107/en/latest/index.html
https://docs.circuitpython.org/projects/mlx90395/en/latest/index.html
https://docs.circuitpython.org/projects/lis331/en/latest/index.html
https://docs.circuitpython.org/projects/datetime/en/latest/index.html
https://docs.circuitpython.org/projects/adt7410/en/latest/index.html
https://docs.circuitpython.org/projects/tsl2561/en/latest/index.html
https://docs.circuitpython.org/projects/simplemath/en/latest/index.html
https://docs.circuitpython.org/projects/ble_broadcastnet/en/latest/index.html
https://docs.circuitpython.org/projects/featherwing/en/latest/index.html
View subprojects-by-creation-date.txt
ds3231 2016-11-28T21:14:54.361304Z
register 2016-11-28T23:56:48.481194Z
busdevice 2017-01-06T01:46:01.465577Z
ds1307 2017-01-09T23:22:12.951589Z
pcf8523 2017-01-10T00:16:12.567893Z
thermistor 2017-02-22T10:34:41.667084Z
hid 2017-02-27T14:30:12.198146Z
neopixel 2017-07-28T22:36:50.840968Z
simpleio 2017-07-28T23:01:29.718241Z
circuitplayground 2017-08-01T23:36:54.209980Z
View foo.diff
This file has been truncated, but you can view the full file.
diff --git a/configs/sim/axis/canterp.ini b/configs/sim/axis/canterp.ini
index 76f1194110..e5161d6740 100644
--- a/configs/sim/axis/canterp.ini
+++ b/configs/sim/axis/canterp.ini
@@ -5,7 +5,7 @@ VERSION = 1.1
[TASK]
TASK = milltask
CYCLE_TIME = 0.001
-INTERPRETER = libcanterp.so
View refclk.c
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
typedef unsigned int uint;
#ifndef PICO_PLL_VCO_MIN_FREQ_MHZ
#define PICO_PLL_VCO_MIN_FREQ_MHZ 750
#endif
#ifndef PICO_PLL_VCO_MAX_FREQ_MHZ
View do_fourwireperipheral.py
import array
import digitalio
import board
import adafruit_pioasm
import rp2pio
program = adafruit_pioasm.Program(""".program clocked_input_chip_select
; Sample bits using an external clock, and push groups of bits into the RX FIFO.
; - IN pin 0 is the data pin
View do_fourwireperipheral.py
import array
import digitalio
import board
import adafruit_pioasm
import rp2pio
program = adafruit_pioasm.Program(""".program clocked_input_chip_select
; Sample bits using an external clock, and push groups of bits into the RX FIFO.
; - IN pin 0 is the data pin
View foo.diff
diff --git a/docs/man/man1/axis.1 b/docs/man/man1/axis.1
index 3678913509..556cf822fc 100644
--- a/docs/man/man1/axis.1
+++ b/docs/man/man1/axis.1
@@ -30,17 +30,16 @@ axis \- AXIS LinuxCNC Graphical User Interface
.B axis
\fI\-ini\fR \fIINIFILE\fR
.SH DESCRIPTION
-\fBaxis\fR is one of the Graphical User Interfaces (GUI) for LinuxCNC
+\fBaxis\fR is one of the Graphical User Interfaces (GUI) for LinuxCNC.