Skip to content
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

Porting of How to use example to Elixir #9

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

tomashco
Copy link

@tomashco tomashco commented Mar 20, 2025

I added the example rewritten in Elixir for the How to use erlang example.

In the readme I wrote how to make it running.

Copy link
Owner

@pguyot pguyot left a comment

Choose a reason for hiding this comment

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

The wav makes the file too big. Is there a way to avoid this?

For example we could put it in priv/ and use atomvm:read_priv/2

rebar.lock
*.avm
**.beam
deps
Copy link
Owner

Choose a reason for hiding this comment

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

Would you mind adding a missing new line here?

#
# This file is part of AtomVM.
#
# Copyright 2018 Davide Bettio <davide@uninstall.it>
Copy link
Owner

Choose a reason for hiding this comment

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

I am not sure this is the proper copyright line.

@tomashco
Copy link
Author

Hi @pguyot I moved the wav file into another module, in order to make the file lighter. I also refactored the main loop a bit in order to divide the different informations in each function. I saw also a performance improvement regarding the graphical updates in the IMU on the screen (now it's much more fluid)

I also updated the gitignore and the copyright

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants