fix(boards): 修复arduino espxx下DS1307和DS3231异常
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import { ArduinoESP8266SensorGenerators } from '@mixly/arduino-esp8266';
|
||||
|
||||
|
||||
export const chaoshengbo = function (_, generator) {
|
||||
var dropdown_pin1 = this.getFieldValue('PIN1');
|
||||
var dropdown_pin2 = this.getFieldValue('PIN2');
|
||||
@@ -73,4 +76,6 @@ export const ESP_TCS34725_Get_RGB = function (_, generator) {
|
||||
generator.setups_['setup_Adafruit_TCS34725'] = 'tcs34725.begin(0x29);';
|
||||
const RGB = this.getFieldValue('TCS34725_COLOR');
|
||||
return ['getRGB(\'' + RGB + '\')', generator.ORDER_ATOMIC];
|
||||
}
|
||||
}
|
||||
|
||||
export const DS1307_init = ArduinoESP8266SensorGenerators.DS1307_init;
|
||||
Reference in New Issue
Block a user