Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Acumen

Member Since 18 Aug 2010
Offline Last Active Aug 24 2010 10:21 PM
-----

Topics I've Started

Sparkfun Nokia 6100 Color LCD

24 August 2010 - 02:44 AM

Just picked one up, has anyone played around with one of these? http://www.sparkfun....roducts_id=8600 I would really like to see some code to get my bearings. I have experience with C#, but have never interfaced with anything like this. http://www.sparkfun....play Driver.pdf I have not had alot of time at my disposal recently, which makes learning this stuff with out a direct tutorial difficult. After powering up the board, I think I can get some minimal functions to start (aka write to the screen) by connecting the following: CS - Chip Select - ground? SCK - Clock Signal - (6MHz?) - Pin 11? DIO - Digital Input - Pin 12? Then start playing around with the SPI class and hopefully things work out. Pascal06 has posted on using the nokia 3310 screen: http://forums.netdui...-nuelectronics/ I am hoping the SPI stuff given will be easy to modify for the 6100.

Reading Serial Connection

18 August 2010 - 11:07 PM

Saw some related topics but none seemed to solve my problem. I am trying to receive data from an RFID reader (the common parallax). I can not seem to find the correct constructor and library for the "SerialPort" datatype. I included System.IO.Ports, which did not seem to have it or I am not correctly referencing. Any help is appreciated.

Problem with Analog Input

18 August 2010 - 03:51 AM

Just got my netduino, trying to figure this thing out.

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);
            }

        }

    }
}

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.