summaryrefslogtreecommitdiff
path: root/shared-bindings/pulseio
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-04-12 15:24:50 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-04-12 15:24:50 -0700
commit4a4f29b8f95aa67f63397ae4efe78c6994398ccf (patch)
tree8ff1fc64edcfca06e5dc6d79a84c259197046cd3 /shared-bindings/pulseio
parent8505de1ced9e567867f2530cee241b28f3456b60 (diff)
atmel-samd: Rework status LED implementation
* Track status pin use by user code separately so it can take over the pins and then give them back. * Switch to hardware SPI for APA102 on Gemma and Trinket. * Merge microcontroller/types.h into microcontroller/Pin.h to better match approach going forwards.
Diffstat (limited to 'shared-bindings/pulseio')
-rw-r--r--shared-bindings/pulseio/PWMOut.h2
-rw-r--r--shared-bindings/pulseio/PulseIn.h2
-rw-r--r--shared-bindings/pulseio/PulseOut.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/pulseio/PWMOut.h b/shared-bindings/pulseio/PWMOut.h
index f7a0bff22..423acf0e9 100644
--- a/shared-bindings/pulseio/PWMOut.h
+++ b/shared-bindings/pulseio/PWMOut.h
@@ -27,7 +27,7 @@
#ifndef __MICROPY_INCLUDED_SHARED_BINDINGS_PULSEIO_PWMOUT_H__
#define __MICROPY_INCLUDED_SHARED_BINDINGS_PULSEIO_PWMOUT_H__
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "common-hal/pulseio/PWMOut.h"
extern const mp_obj_type_t pulseio_pwmout_type;
diff --git a/shared-bindings/pulseio/PulseIn.h b/shared-bindings/pulseio/PulseIn.h
index 5ffab1d67..52e0b861b 100644
--- a/shared-bindings/pulseio/PulseIn.h
+++ b/shared-bindings/pulseio/PulseIn.h
@@ -27,7 +27,7 @@
#ifndef __MICROPY_INCLUDED_SHARED_BINDINGS_PULSEIO_PULSEIN_H__
#define __MICROPY_INCLUDED_SHARED_BINDINGS_PULSEIO_PULSEIN_H__
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "common-hal/pulseio/PulseIn.h"
extern const mp_obj_type_t pulseio_pulsein_type;
diff --git a/shared-bindings/pulseio/PulseOut.h b/shared-bindings/pulseio/PulseOut.h
index 5365fd1f5..17f034fda 100644
--- a/shared-bindings/pulseio/PulseOut.h
+++ b/shared-bindings/pulseio/PulseOut.h
@@ -27,7 +27,7 @@
#ifndef __MICROPY_INCLUDED_SHARED_BINDINGS_PULSEIO_PULSEOUT_H__
#define __MICROPY_INCLUDED_SHARED_BINDINGS_PULSEIO_PULSEOUT_H__
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "common-hal/pulseio/PulseOut.h"
#include "common-hal/pulseio/PWMOut.h"