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 / section2_lecture15_inclinometer_adxl335_3_axis_acc.ino
Last active November 13, 2022 19:45
Using an ADXL335 3-axis Accelerometer to Measure The Angle of Incline From the X,Y, and Z Axis with an Arduino
/**************************************************
Udemy Arduino Step-by-Step Course
Section 3 Interactive Lecture 15 Detecting Acceleration
Quiz 10 Question 2 (not graded, not for credit, fun only:-)
by J. Cantlin
December 25, 2015 Merry Christmas!
***************************************************/
/**************************************************
Description of Program
@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 / 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 / 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 / section4_lecture37_to_39_keypad_to_16x2_LCS_I2C_plus_RTC.ino
Created January 23, 2016 21:39
Multiple I2C Devices With Arduino Uno
/**************************************************
Udemy Arduino Step-by-Step Course
Section 4 Displays Lecture 37 to 39
Using 16x2 LCD With I2C Plus a Real Time Clock
by J. Cantlin
January 23, 2016
***************************************************/
/**************************************************
Summary of Arduino Analog Pins Used:
@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
***************************************************/
/**************************************************