Commit 1a65ff1b authored by Damien George's avatar Damien George
Browse files

esp8266: Protect modpyb.h header file from multiple inclusions.

Also include py/obj.h so the header is self contained.
parent 67a327cb
#include "py/obj.h"
extern const mp_obj_type_t pyb_pin_type;
extern const mp_obj_type_t pyb_pwm_type;
extern const mp_obj_type_t pyb_adc_type;
......@@ -18,3 +23,5 @@ uint mp_obj_get_pin(mp_obj_t pin_in);
pyb_pin_obj_t *mp_obj_get_pin_obj(mp_obj_t pin_in);
int pin_get(uint pin);
void pin_set(uint pin, int value);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment