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.

Govind's Content

There have been 5 items by Govind (Search limited from 29-April 23)


By content type

See this member's

Sort by                Order  

#41278 Control Large Led matrix

Posted by Govind on 09 December 2012 - 06:24 PM in General Discussion

Hi, Thank you for this information. Could you please send me any reference on how to construct the circuit or circuit diagram for netduino plus to control the 10X50 matrix. Please give complete instructions or details of the shift register or any components used in the circuit. I have the data for each led whether to be turned on or off in a byte array in code. based on this data the led should glow. Thanks in advance. Srinivas



#40236 SD Card cannot get basic example working

Posted by Govind on 26 November 2012 - 04:44 PM in Netduino Plus 2 (and Netduino Plus 1)

Can any one help me on the above post? Thanks in Adavance Srinivas R



#39960 SD Card cannot get basic example working

Posted by Govind on 22 November 2012 - 06:42 PM in Netduino Plus 2 (and Netduino Plus 1)

Thanks for your help. After formatting the sd card i was able to read the file. Now I am trying to read every pixel value of a bitmap file present in sd car, but got struck could you please give some links or sample code? Below is what i tried using (var filestream = new FileStream(@"\SD\Sample.bmp", FileMode.Open)) { StreamReader sr = new StreamReader(filestream); Stream strm = sr.BaseStream; int len = int.Parse( strm.Length.ToString()); Byte[] bt = new Byte[len]; strm.Read(bt, 0, len); strm.Close(); sr.Close(); } bt will have only 346 elements where as my bitmap file has 24*19 => 456 pixels. Please help me to read every pixel(all 456 pixel) value of a bitmap. Thanks in advance for your help.



#39365 SD Card cannot get basic example working

Posted by Govind on 14 November 2012 - 06:47 PM in Netduino Plus 2 (and Netduino Plus 1)

when i try to read a text file from sd card i am getting the below error

Exception:
Exception was thrown: System.IO.IOException

StackTrace:
Microsoft.SPOT.IO.NativeIO::GetAttributes
System.IO.FileStream::.ctor
System.IO.FileStream::.ctor
System.IO.StreamReader::.ctor
NetduinoPlusApplication1.Program::ReadTextFile
NetduinoPlusApplication1.Program::Main

can someone let me know what is wrong in this code.
Code:
        public static void ReadTextFile()
        {
            try
            {
                var dir = Directory.GetCurrentDirectory();

                using (var reader = new StreamReader(@"\SD\" + "Sample1.txt"))
                {
                    string line;

                    while ((line = reader.ReadLine()).Length != 0)
                    {

                    }
                }
            }
            catch (Exception ex)
            {

            }
        }



#38932 Control Large Led matrix

Posted by Govind on 10 November 2012 - 05:39 PM in General Discussion

Hi I just received my netduino plus, my goal is to control a LED matix of size 10X50. Can some one help me on 1.what are the components other than netduino plus i need to control the led matrix 2.what are the connection diagrams of these components 3. .net code to blink the lead matrix of size 10X50. Please note i do not have electronics background. Thanks, Srinivas R




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.