Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <adc.h>
#include <device.h>
#include <math.h>
#include <sensor.h>
#include <zephyr.h>
#include <gpio.h>
#include <nrf_saadc.h>
commit 2cce0bf617358deb2450fee87ab01a8cef7274ea
Author: Jim Paris <jim@jtan.com>
Date: Mon May 6 23:07:13 2019 -0400
Support referencing a specific ADC input in DT properties
This lets us do e.g.:
foo {
compatible = "bar";
commit 9bc389963dc95edc679b31d32c285f2dd6aab619 (HEAD -> jim-rtt)
Author: Jim Paris <jim@jtan.com>
Date: Thu Nov 15 12:30:30 2018 -0500
target/arm_adi_v5: power off chip debug hardware on shutdown
Change-Id: I759442371439ec54597f75964115776bfaa67949
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 4dc2594cf521..52fe7c9c6311 100644
commit 9bc389963dc95edc679b31d32c285f2dd6aab619 (HEAD -> jim-rtt)
Author: Jim Paris <jim@jtan.com>
Date: Thu Nov 15 12:30:30 2018 -0500
target/arm_adi_v5: power off chip debug hardware on shutdown
Change-Id: I759442371439ec54597f75964115776bfaa67949
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 4dc2594cf521..52fe7c9c6311 100644
@jimparis
jimparis / time.c
Created January 20, 2016 23:29
Time FTDI bitbang output to figure out actual bitrate
/* $ cc -lftdi time.c -o time
$ ./time 9600
Desired bitrate: 9600
Writing data..
100000 bits written in 10.368 seconds = 9645.0 bits per second
$ ./time 76000
Desired bitrate: 76000
Writing data..
100000 bits written in 1.30888 seconds = 76401.0 bits per second
$ ./time 1000000
asdf
====
asdf
----

This is a test link

This is LuaTeX, Version beta-0.76.0-2013052013 (rev 4627) (format=lualatex 2013.6.11) 3 JUL 2013 11:37
restricted \write18 enabled.
**track_missing_glyphs.tex
(./track_missing_glyphs.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 10 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)