Skip to content

Instantly share code, notes, and snippets.

View john212's full-sized avatar

Mr. C. john212

  • Oneonta, Alabama
View GitHub Profile
@john212
john212 / L_Meter_Working.ino
Created July 19, 2016 04:15
Using An Arduino and a LM339 Comparator To Measure an Unknown Inductance
/*
Inductance Meter Using Arduino - by J. Cantlin July 2, 2014
A coil of unknown inductance is connected in an LC crcuit. The
Arduino "rings" the circuit with a PWM pulse from a digital output.
The decaying sine wave from the LC circuit, i.e., tank circuit is
sent to an LM339 comparator where it is converted to a square
wave. The square wave is sent to the Arduino where the "pulseIN"
fuction reades its with in microseconds and converts it to the
resonant frequency of the LC circuit. With a known value of
@john212
john212 / index.html
Last active November 26, 2019 15:22
JS Bin Test// source https://jsbin.com/fesixo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin Test</title>
</head>
<body>
<p>Testing export to Gist from JSBin</p>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@john212
john212 / index.html
Created December 16, 2019 18:42
Arithmetic and Geometric Sequence and Series // source https://jsbin.com/jaxahix
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Arithmetic and Geometric Sequence and Series</title>
</head>
<body>
<P>A program that will identify and then solve Arithmetic and Geometric Sequences and Series<br>
after the user inputs the first three terms, a desired unknown term to be calculated,<br>
@john212
john212 / triangle_ineq_th_r1.html
Last active February 10, 2020 20:01
Triangle Inequality Theorem and Triangle Classification
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Triangle Inequality Theorem and Triangle Classification</title>
</head>
<body>
<h2>Triangle Inequality Theorem and Triangle Classification</h2>
@john212
john212 / pascals_triangle_r0a.html
Created January 22, 2020 22:17
Pascal's Triangle Coefficients
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Pascal's Triangle Coefficient Calculator</title>
</head>
<body>
<h2>Pascal's Triangle Coefficient Calculator</h2>
@john212
john212 / infinite_series_for_sine.html
Created March 19, 2020 01:46
Infinite Series For Sine Function
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Infinite Series for the Sine Function</title>
</head>
<body>
<h2>Infinite Series for the Sine Function</h2>