From 8e7dfea803f618beaa2ad976dff0b196e449d5d9 Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Tue, 7 Jun 2016 21:40:56 +0200 Subject: esp8266/modpybhspi: Add a HSPI module for hardware SPI support This module uses ESP8266's SPI hardware, which allows much higher speeds. It uses a library from https://github.com/MetalPhreak/ESP8266_SPI_Driver --- esp8266/modpyb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'esp8266/modpyb.h') diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h index dc399ad81..0eec556b1 100644 --- a/esp8266/modpyb.h +++ b/esp8266/modpyb.h @@ -10,6 +10,7 @@ extern const mp_obj_type_t pyb_rtc_type; extern const mp_obj_type_t pyb_uart_type; extern const mp_obj_type_t pyb_i2c_type; extern const mp_obj_type_t pyb_spi_type; +extern const mp_obj_type_t pyb_hspi_type; MP_DECLARE_CONST_FUN_OBJ(pyb_info_obj); -- cgit v1.2.3