From db5caf3ccb7ca80ea2b2a261c0bf72c22b316600 Mon Sep 17 00:00:00 2001 From: Mark Liffiton Date: Fri, 27 Apr 2018 15:24:00 -0500 Subject: [PATCH] Add constants from wiringShift.h (closes #64) --- constants.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/constants.py b/constants.py index 75ce015..f501698 100644 --- a/constants.py +++ b/constants.py @@ -38,4 +38,10 @@ INT_EDGE_SETUP = 0; INT_EDGE_FALLING = 1; INT_EDGE_RISING = 2; INT_EDGE_BOTH = 3; + +# Shifting (from wiringShift.h) + +LSBFIRST = 0; +MSBFIRST = 1; + %}