-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
examples/basic/ex_how_to_use/mix.exs
Outdated
# | ||
# This file is part of AtomVM. | ||
# | ||
# Copyright 2018 Davide Bettio <davide@uninstall.it> |
There was a problem hiding this comment.
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.
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 |
I added the example rewritten in Elixir for the How to use erlang example.
In the readme I wrote how to make it running.