Skip to content

Instantly share code, notes, and snippets.

/*
* MJD HARDWARE INSTRUCTIONS:
* GPIO selector (Adafruit HUZZAH32 dev board)
* #21 = SW180 tilt sensor | KY032 obstacle sensor | SW420 Vibration Sensor
*
* KY032 Sensor (or any other sensor or button that reports a digital signal 0 or 1)
* !pinvalue=1 no obstacle | pinvalue=0 yes obstacle
* Connect pin 1 (left) of the sensor to DATA
* Connect pin 2 (middle) of the sensor to GND
* Connect pin 3 (right) of the sensor to VCC
@Spritetm
Spritetm / component.mk
Created August 20, 2017 03:41
Component.mk to try to compile open62541 under esp-idf
#Where the cmake project lives under this subdirectory
CODESUBDIR := $(COMPONENT_PATH)/open62541
#Path and name of the generated library
LIBRARY := libopen62541.a
#Some projects need include files that are not available in esp-idf. You can specify a directory to 'fake'
#these entries here. Note: this will not work if the project includes these in public header files.
#INCLUDE_FIXUP_DIR := $(COMPONENT_PATH)/include_fixup