Closed glv2 closed 2 years ago
I added a commit with a few functions to help setting the hardware registers in Scheme instead of having to use assembly. It should make writing libraries for things that are not implemented in the standard library easier (e.g. I2C, different parameters for ADC, etc).
Rebased on master (432452baa18f72ac4d9c72b5a7bd601f29a4139b) to fix the conflict with PR #40.
@glv2 thanks for all your work on this.
There is some basic documentation for microscheme which is hosted as the "GitHub pages" site for this repo. It used to be on a separate branch but now I've moved it to /docs on master so that it's easier to keep things like the list of primitive procedures "in sync".
It would be great if you could update docs/documentation.html under this PR.
I added a commit updating the procedure lists in docs/documentation.html.
I've just created src/avr_core.ms so that src/stdlib.ms can be restricted to platform-independent language features. If you merge/rebase and move the new analog functions into avr_core then I'll merge the PR. Thanks again for the contribution.
Rebased
I only tested the UNO model, as I only have Arduino Nano boards.