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.
Photo

Parallax LCD test


  • Please log in to reply
5 replies to this topic

#1 JonnyBritish

JonnyBritish

    New Member

  • Members
  • Pip
  • 6 posts

Posted 15 August 2010 - 05:11 AM

Not rocket science but tonight I hooked up a Parallax 2x16 character LCD and ran the code below to test and it worked.
Here is the LCD - Parallax LCD

And docs on the LCD - http://www.parallax....ialLCD-v2.1.pdf

using System;
using System.Text;
using System.Collections;
using System.IO.Ports;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;

namespace ParallaxLCDTest
{
    public class Program
    {
        public static void Main()
        {
            byte[] bytes = Encoding.UTF8.GetBytes("Hello Netduino");

            //instantiate the serial port connection                           
            SerialPort serialPort = new SerialPort("COM1", 2400, Parity.None, 8, StopBits.One);
            serialPort.Open();
            serialPort.Write(bytes, 0, 14);
        }
    }
}


Next thing would be to build a class that can send control characters as well but so far so good. Now I just wish I had bought the 4 line version :D

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 August 2010 - 05:38 AM

Cool! Can you snap any photos for us?

#3 JonnyBritish

JonnyBritish

    New Member

  • Members
  • Pip
  • 6 posts

Posted 15 August 2010 - 02:50 PM

Will do, being able to work in Visual Studio 2010 Express and be able to work with these boards is inspiring. In this case I had a 3 pin header which then went to the LCD. So I had the LCD header going into into a breadboard then 3 wires going to the Netduino.

#4 José Ángel

José Ángel

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationSpain

Posted 15 August 2010 - 11:00 PM

Add it to the Project Showcase Forum, it would be useful for other people in the community :) http://forums.netdui...oject-showcase/

#5 Niels R.

Niels R.

    Member

  • Members
  • PipPip
  • 28 posts

Posted 17 August 2010 - 06:09 PM

*Deleted*

Sorry, I was wrong about the type of LCD (I'm using SparkFun SerLCD instead of Parllax LCD) so I deleted my post and started a new thread.

Kind regards,
Niels R.

#6 JonnyBritish

JonnyBritish

    New Member

  • Members
  • Pip
  • 6 posts

Posted 19 August 2010 - 03:38 AM

Cool! Can you snap any photos for us?

Here you go

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.