diff --git a/eel-builder-master/examples/my_first_eel/README.md b/eel-builder-master/examples/my_first_eel/README.md index ffb50c0..3f5c028 100644 --- a/eel-builder-master/examples/my_first_eel/README.md +++ b/eel-builder-master/examples/my_first_eel/README.md @@ -249,7 +249,7 @@ bool ATMO_RelayClick_Init(ATMO_RelayClick_Config_t *config) // Set the default configuration and state of Relay1 ATMO_GPIO_Config_t gpioConfig; gpioConfig.pinMode = ATMO_GPIO_PinMode_Output_PushPull; - gpioConfig.pinState = ATMO_GPIO_PinState_Low; + gpioConfig.initialState = ATMO_GPIO_PinState_Low; return ATMO_GPIO_SetPinConfiguration(config->gpioDriverInstance, config->relay1Pin, &gpioConfig) == ATMO_GPIO_Status_Success; } @@ -348,4 +348,4 @@ return ATMO_RelayClick_ToggleRelay1() ? ATMO_Status_Success : ATMO_Status_Fail; Navigate to the eel-builder directory and run: `node eelbuilder.js --generate --dir="../relayclick_EEL" --dest="../"` ## Step 9: Celebrate -Congratulations, you've created your first EEL. You can see a more complex version of this EEL in the examples directory, [here](../relayclick). \ No newline at end of file +Congratulations, you've created your first EEL. You can see a more complex version of this EEL in the examples directory, [here](../relayclick).