I am working on a project as an independent study with a professor. Part of it involves doing something very similar to what was done on this website: http://www.thebox.my...ED_Sensing.html. the actual instructions start about halfway through the page.
I am using a Netduino 1 running the 4.2.0 firmware.
I currently have the LED acting as a crude light sensor but the LED does not turn glow. His first instruction is:
First of all in the setup() you must globally disable the internal pull up resistors with:-
_SFR_IO8(0x35) |= 0x10; // global disable pull up resistors
If you don’t do this, then it won’t work at all.
I'm uncertain as to how can i disable the pull up resistor on the entire board. If not, I would settle for disabling it from the IO pin. But i dont see any way of doing so on either an OutputPort or an AnalogInput.
The rest of the instructions i am a little uncertain as to what exactly he means, though I will likely try to analyze his Arduino code and convert it to .NET.