- Netduino Forums
- → Acumen's Content
Acumen's Content
There have been 7 items by Acumen (Search limited from 24-May 23)
#1197 Sparkfun Nokia 6100 Color LCD
Posted by Acumen on 24 August 2010 - 02:44 AM in Netduino 2 (and Netduino 1)
#1254 Sparkfun Nokia 6100 Color LCD
Posted by Acumen on 24 August 2010 - 10:21 PM in Netduino 2 (and Netduino 1)
#1105 Nokia 3310 from nuelectronics
Posted by Acumen on 23 August 2010 - 02:22 AM in Project Showcase
#717 Problem with Analog Input
Posted by Acumen on 18 August 2010 - 03:51 AM in Netduino 2 (and Netduino 1)
I get the following output by simply jumping any analog input to ground:
Test: 127
Test: 15
Test: 1023
Test: 1023
Test: 255
Test: 1023
Test: 0
Test: 127
Test: 255
Test: 1023
Test: 127
Test: 0
Test: 0
Test: 255
Test: 63
Test: 0
Test: 255
Test: 1023
Test: 63
Test: 127
Test: 63
Test: 255
Test: 0
Test: 255
Test: 127
Test: 7
Test: 63
namespace Netduino_Test_1 { public class Program { public static void Main() { // write your code here AnalogInput apin0 = new AnalogInput(Pins.GPIO_PIN_A0); bool buttonstate = false; int test = 0; while (true) { Thread.Sleep(250); test = apin0.Read(); Debug.Print("Test: " + test); } } } }
#719 Problem with Analog Input
Posted by Acumen on 18 August 2010 - 04:25 AM in Netduino 2 (and Netduino 1)
Fun little variable speed blinking program to test the analog input.
Potentiometer hooked up to 3V, Ground and A0.
3V hooked up to Aref.
namespace Netduino_Test_1 { public class Program { public static void Main() { AnalogInput apin0 = new AnalogInput(Pins.GPIO_PIN_A0); OutputPort led = new OutputPort(Pins.ONBOARD_LED, true); int test = 0; bool ledstate = true; while (true) { ledstate = !ledstate; led.Write(ledstate); test = apin0.Read(); Debug.Print("Test: " + test); Thread.Sleep(test/5); } } } }
#1054 Reading Serial Connection
Posted by Acumen on 22 August 2010 - 02:44 PM in Netduino 2 (and Netduino 1)
#810 Reading Serial Connection
Posted by Acumen on 18 August 2010 - 11:07 PM in Netduino 2 (and Netduino 1)
- Netduino Forums
- → Acumen's Content
- Privacy Policy