commit | 4970f63b09667e64b7b8933a9e15efb2adc2ee9f | [log] [tgz] |
---|---|---|
author | Philip Howard <phil@gadgetoid.com> | Thu Mar 28 01:10:16 2013 +0000 |
committer | Philip Howard <phil@gadgetoid.com> | Thu Mar 28 01:10:16 2013 +0000 |
tree | 97f4fa4fcf69a75f564d79d5f35126f958ab5054 | |
parent | 91df201659541246842e25f2a2757d16f818c6d5 [diff] [blame] |
More example goodness
diff --git a/examples/delay.py b/examples/delay.py new file mode 100644 index 0000000..66107ac --- /dev/null +++ b/examples/delay.py
@@ -0,0 +1,5 @@ +# Demonstrates use of Arduino-like delay function +import wiringpi2 +print 'Hello World' +wiringpi2.delay(1500) # Delay for 1.5 seconds +print 'Hi again!'