Skip to content

cpedro/python_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Playground

A repo I use to play around with Python programming. Others might find useful.

binary_toggle_list.py

A simple linked list of binary values that you can toggle to simulate an adder, or a flip-fop circuit used in quartz clocks. Each time a node in the list goes from 1 to 0, it automatically toggles the next node in the list. Kinda inspired by this video by Steve Mould.

How a quartz watch works - its heart beats 32,768 times a second

usage: binary_toggle_list.py [-h] [-n LINKS]

Binary Toggle Chain

optional arguments:
  -h, --help            show this help message and exit
  -n LINKS, --number-of-links LINKS

About

A repo I use to play around with Python programming. Others might find useful.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages