Proximity scrolling with the Touch Board
With a simple aluminium sheet assigned to Electrode E0, I could recreate the scrolling on my computer.
For some reason when I compiled the code onto the Touch Board, it gave me an error : "NHDF' was not declared in this scope".
As I am a beginner, I would like to share the steps I took in order to have the proximity scrolling code working on my board:
- Once I compiled the sketch onto the board, it gave me the error on NHDF
- I found this page about a similar board. NHDF is mentioned in there as I field.
- I went ahead and removed the entire setupProximity(); and this did the trick.
I also tried this : As per a response somewhere on the Arduino Forum, I added char junk; at the beginning of the sketch to force the IDE to put all the function definitions at the top but this did not help much.
Using an aluminium sheet and connecting it to electrode E0 worked quite smoothly. You may need to reset the board after code compiled. From what I could see, it seemed I have to make a physical contact with my hand FIRST in order for the scrolling to be enabled.