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 / 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>
@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 / 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 / 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>
<!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
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">
@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 / s6_l60_quiz_w5100SPI_16x2I2C_ht22_telnet_r009.ino
Last active July 9, 2016 20:29
Arduino With Ethernet Shield Controlling LED via Telent and Displaying Temp., Humidity, LDR Readings via Telnet and on 16x2 Display
/**************************************************
Udemy Arduino Step-by-Step Course
Section 6 Lecture 60 Ethernet Shield Telnet Control
With 16x2 LCD Text Display and DHT11 Temperature/Humidity Sensor
Quiz - Just For Fun - No Grade
by J. Cantlin
July 8, 2016
***************************************************/
/**************************************************
@john212
john212 / servo_with_3_buttons_and_pot.ino
Created June 18, 2016 00:56
Arduino Servo Example - Using Potentiometer To Vary Servo or Pushbutton To Set To Fixed Position
/**************************************************
Udemy Arduino Step-by-Step Course
Section 5 Motors Lecture 51 Servo Motors Part 2
Quiz Servo With 3 Buttons (not graded, not for credit, fun only:-)
by J. Cantlin
June 17, 2016
***************************************************/
/**************************************************
Description of Program
@john212
john212 / sec5_lec47_DCMotors_Robot_w_IRRemote_2pwm_pins_usonic_r1.ino
Last active March 12, 2016 23:11
Vex Mini Robot - Arduino Uno - Vex 393 DC Motors - Sparkfun IR 9-Button Remote - Ping Ultrasonic Rangefinder
/**************************************************
Udemy Arduino Step-by-Step Course
Section 5 DC Motors Lecture 47 Part 2 Using the L298N H Bridge
To Control Speed/Direction of a 2-Motor Robot with A 9-Button
Infrared Remote Control and an Ultrasonic Distance Sensor.
by J. Cantlin
February 17, 2016
***************************************************/
/**************************************************