Vicpimakers.ca Content Annex

This directory is for presentation material that may best be presented outside of the Wordpress system.

| Python Tutorials | I2C |

Python Tutorials

Python_Presentation1.xhtml

What's useful to know so you can quickly and easily set about writing Python programs. Detailed Python programming will be covered progressively in subsequent courses.

Python_Presentation2.xhtml

This session covers basic Python syntax and constructs.

Python_Presentation3.xhtml

This session adds to what was learnt from session 2, Syntax and Constructs, and goes on to cover some further language constructs.

Python_Presentation4.xhtml

Recap of the previous 3 presentations, including in more detail the Input And Output section of session 3. Then I'll discuss some useful Python Tutorials. And finally we can go on to cover some further aspects of the language.

Python_Presentation5.xhtml

This session covers Python exceptions.

Python_Presentation6a.xhtml

String Formatting

Python_Presentation6b.pdf

Regular Expressions

Python_Presentation6c.xhtml

Quick Introduction to tkinter


^

I2C

Demo1.py

simple read from one I2C device at one register, reporting the binary word returned
Demo2.py

read from one device, extract the data from the binary word and report the value in a usable format
Demo3.py

add a second device on the same bus, get two values
Demo4.py

seeing the other data (flags) reported by the devices
Demo5.py

writing to various registers to effect the flag values
I2C Presentation PDF

^
Home