This is a C++ app to display text with scrolling on a NumWorks calculator.
The code is derivated from the official numworks sample app;
Run update_text.py file.txt
to change the app text with the text in file.txt
.
The script will fail if the text have lines that will overflow the numworks's window.
You will need to clean the build (make clean
) if you have already build the aplication.
To build this sample app, you will need to install the embedded ARM toolchain and nwlink.
brew install numworks/tap/arm-none-eabi-gcc node # Or equivalent on your OS
npm install -g nwlink
rm -fr target && make
You should now have a target/text-app.nwa
file that you can distribute! Anyone can now install it on their calculator from the NumWorks online uploader.
If just want to test the app without recompiling it with your own text, you can download the text-app.nwa
file from the build artifacts.
To run the app on your development machine, you can use the following command
# Now connect your NumWorks calculator to your computer using the USB cable
make run
AFCM: update_text.py src/main.cpp
Numworks team (BSD): All other files