Skip to content

Adjust ATMO_GPIO_Device_Pin_t var to match API #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eel-builder-master/examples/my_first_eel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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).
Congratulations, you've created your first EEL. You can see a more complex version of this EEL in the examples directory, [here](../relayclick).