#include "resource/resource_infrared_obstacle_avoidance_sensor_internal.h"
#include "resource/resource_touch_sensor_internal.h"
#include "resource/resource_ultrasonic_sensor_internal.h"
+#include "resource/resource_led_internal.h"
+#include "resource/resource_vibration_sensor_internal.h"
+#include "resource/resource_flame_sensor_internal.h"
+#include "resource/resource_rain_sensor_internal.h"
+#include "resource/resource_sound_detection_sensor_internal.h"
+#include "resource/resource_tilt_sensor_internal.h"
+#include "resource/resource_gas_detection_sensor_internal.h"
+#include "resource/resource_sound_level_sensor_internal.h"
#define PIN_MAX 40
struct _resource_s {
int opened;
peripheral_gpio_h sensor_h;
+ void (*close) (int);
};
typedef struct _resource_s resource_s;