Demo entry 4085398

test

   

Submitted by anonymous on Mar 17, 2016 at 11:52
Language: Python. Code size: 496 Bytes.

\#!/usr/bin/env python

def init():
	global ArmKeyPressed
	global ArmPin
	global SirenGPIOPin
	global StatusLED
	global modechange
        global timechange
        global maincount
        global param
        global mode
        global door1
        global window1, window2, light1

        maincount = 0
	modechange = 1
	ArmPin = 35
	SirenGPIOPin = 36
	StatusLED = 37

        mode = "Armed"
        door1 = 0
        window1 = 1
        window2 = 1
        light1 = 1

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).