A bit of a question and sorry if I ramble as it’s late!
I am writing a program where I am reading values from an accelerometer to try and count steps. I then want my Scroll pHAT HD to scroll the number of steps taken across the screen…
My current thinking for the pseudocode is along these lines…
- start loop
- read accelerometer axis
- if above high threshold mark step
- wait until low threshold
- increment count to file on hdd
- if file count has increased by 5 scroll file count on scroll phat hd
- go to 1
My question is; if I start the scroll at step 6, does the scroll and show function of the scrollphathd library block my program, or will I immediately return to step 1 whilst the display scrolls?
I really don’t want to have to use processes as I think my head might explode!