Skip to content

Commit

Permalink
docs(README): Complete README example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Klafyvel committed Dec 25, 2024
1 parent a5ec40b commit f67d669
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ device = open(HidApi.find_device(

# Configuring pins for GPIO operations
command = MCP2221Driver.GetSRAMSettingsCommand()
MCP2221Driver.query(device, command)
response = MCP2221Driver.query(device, command)
command = MCP2221Driver.SetSRAMSettingsCommand(
gpiosettings=(
gpio0=response.gpio0status,
Expand All @@ -55,4 +55,7 @@ for i in 1:60
sleep(1)
end

close(device)
HidApi.shutdown()

```

2 comments on commit f67d669

@Klafyvel
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/122000

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" f67d66942f67943c3b2c73963e748ef7236c6b1e
git push origin v0.1.0

Please sign in to comment.