So far I have the following completed:
- Function initializing and calling
- Setting a register(int8_t variable)
- Doing simple math on a register, for example using register 1 (r1): r1 (+,-,*,/) (number or r...) If the result is ever higher than 127, we will get 127 as result, if its lower than 0, we will get zero as a result. This is merely a result of wanting to keep things minimal.
- Comparing two numbers or registers, and either skipping or executing following statement depending on its truth value.
- Looping a function or expression.
- Controlling 1 of the 2 led's. I am still working on controlling the broke out gpio pin.
- Added sleep function, can sleep (or delay() on arduino) 1 to 8 seconds. Will add the same for a deepsleep/power off mode.
- Eeprom save/load is working great.
Developing this program on my laptop (i am using tcc for my compiler) has been working great. All I did was comment out any arduino related code, and replace it with windows related sleep and print functions for debugging. It makes it go a lot quicker and easier to find those bugs.

Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.