Espruino/targets/esp32/esp32_neopixel.h
jumjum123 1c4a4ec192 Merged wit latest changes(2nd of march 2017) from master
Added support for neopixel to esp32 branch
 Changes to be committed:
	modified:   Makefile
	modified:   libs/neopixel/jswrap_neopixel.c
	new file:   targets/esp32/esp32_neopixel.c
	new file:   targets/esp32/esp32_neopixel.h
2017-03-03 09:20:17 +01:00

24 lines
843 B
C

/*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2015 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* ----------------------------------------------------------------------------
* This file is designed to be parsed during the build process
*
* Contains neopixel (WS2812B) specific function definitions.
* ----------------------------------------------------------------------------
*/
#ifndef ESP32_NEOPIXEL_H_
#define ESP32_NEOPIXEL_H_
#include "jspin.h"
//===== neopixel Library
bool esp32_neopixelWrite(Pin pin,unsigned char *rgbData, size_t rgbSize);
#endif /* ESP32_NEOPIXEL_H_ */