Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: license for the installation Pin
Pravin Patil, Mumbai8-May-11 21:59
Pravin Patil, Mumbai8-May-11 21:59 
GeneralRe: license for the installation Pin
ambarishtv8-May-11 22:47
ambarishtv8-May-11 22:47 
AnswerRe: license for the installation Pin
Pravin Patil, Mumbai8-May-11 21:59
Pravin Patil, Mumbai8-May-11 21:59 
GeneralRe: license for the installation Pin
ambarishtv8-May-11 22:35
ambarishtv8-May-11 22:35 
Questioncontrolling the AND gate with c# Pin
aeman6-May-11 22:11
aeman6-May-11 22:11 
AnswerRe: controlling the AND gate with c# Pin
Luc Pattyn7-May-11 2:18
sitebuilderLuc Pattyn7-May-11 2:18 
AnswerRe: controlling the AND gate with c# Pin
PIEBALDconsult7-May-11 3:31
mvePIEBALDconsult7-May-11 3:31 
GeneralRe: controlling the AND gate with c# Pin
aeman7-May-11 4:15
aeman7-May-11 4:15 
hmm i have seen this article but it seemed to b very difficultFrown | :( m beginner... but from this code i have selected some piece of code to light the LED. but not sure if it is ok or not.
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Threading;
using System.Timers;

namespace LED
{
    public partial class Form1 : Form
    {
        public int i = 0, j = 0, adress = 888;

        public Form1()
        {
            InitializeComponent();
            Reset_LEDs(); 
        }
        private void Reset_LEDs() // Makes all the data pins low so the LED's turned off
        {
            PortAccess.Output(adress, 0);
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            int value = 0;
            value += (int)Math.Pow(2, 0);
            LoadNewPict_D0();
            PortAccess.Output(adress, value);
        }
    }
}

what is LoadNewPict_D0(); function doing? will this piece of code ON the LED?
thanks 4 help
GeneralRe: controlling the AND gate with c# Pin
PIEBALDconsult7-May-11 4:53
mvePIEBALDconsult7-May-11 4:53 
GeneralRe: controlling the AND gate with c# Pin
Luc Pattyn7-May-11 5:34
sitebuilderLuc Pattyn7-May-11 5:34 
GeneralRe: controlling the AND gate with c# Pin
aeman7-May-11 6:16
aeman7-May-11 6:16 
GeneralRe: controlling the AND gate with c# Pin
PIEBALDconsult7-May-11 19:35
mvePIEBALDconsult7-May-11 19:35 
GeneralRe: controlling the AND gate with c# Pin
shivamkalra7-May-11 7:13
shivamkalra7-May-11 7:13 
GeneralRe: controlling the AND gate with c# Pin
Luc Pattyn7-May-11 4:27
sitebuilderLuc Pattyn7-May-11 4:27 
GeneralRe: controlling the AND gate with c# Pin
PIEBALDconsult7-May-11 4:56
mvePIEBALDconsult7-May-11 4:56 
GeneralRe: controlling the AND gate with c# Pin
shivamkalra7-May-11 7:14
shivamkalra7-May-11 7:14 
QuestionGet name of system folder [using C#] Pin
shivamkalra6-May-11 18:51
shivamkalra6-May-11 18:51 
AnswerRe: Get name of system folder [using C#] Pin
Luc Pattyn6-May-11 19:07
sitebuilderLuc Pattyn6-May-11 19:07 
GeneralRe: Get name of system folder [using C#] Pin
DaveAuld6-May-11 21:00
professionalDaveAuld6-May-11 21:00 
GeneralRe: Get name of system folder [using C#] Pin
DaveyM696-May-11 21:07
professionalDaveyM696-May-11 21:07 
GeneralRe: Get name of system folder [using C#] Pin
DaveAuld6-May-11 21:10
professionalDaveAuld6-May-11 21:10 
GeneralRe: Get name of system folder [using C#] Pin
DaveyM696-May-11 21:27
professionalDaveyM696-May-11 21:27 
GeneralRe: Get name of system folder [using C#] Pin
shivamkalra7-May-11 5:22
shivamkalra7-May-11 5:22 
GeneralRe: Get name of system folder [using C#] Pin
Luc Pattyn7-May-11 5:30
sitebuilderLuc Pattyn7-May-11 5:30 
GeneralRe: Get name of system folder [using C#] Pin
shivamkalra7-May-11 6:20
shivamkalra7-May-11 6:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.