Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Net.Sockets;
- using System.Threading;
- using Microsoft.SPOT;
- using Microsoft.SPOT.Hardware;
- using SecretLabs.NETMF.Hardware;
- using SecretLabs.NETMF.Hardware.Netduino;
- namespace NetduinoApplication2
- {
- public class Program
- {
- public static void Main()
- {
- Display led = new Display();
- led.Mode("commonAnode");
- while (true)
- {
- for (byte i = 0; i < 10; i++) // counts from 0-9
- {
- led.Write(i);
- Thread.Sleep(1000);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement