Subversion Repositories group.electronics

Rev

Rev 158 | Rev 161 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 158 Rev 159
Line 16... Line 16...
16
        static void Main(string[] args) {
16
        static void Main(string[] args) {
17
 
17
 
18
 
18
 
19
            mcp2221 mcp = new mcp2221();
19
            mcp2221 mcp = new mcp2221();
20
            mcp.Enabled = true;
20
            mcp.Enabled = true;
21
 
-
 
22
            //Bridge_mcp2221 bridge = new Bridge_mcp2221();
-
 
23
 
-
 
24
 
-
 
25
            /*
-
 
26
            NITAAPDevice aap = new NITAAPDevice(bios);
-
 
27
            if (aap.init() == 0) {
-
 
28
                Console.WriteLine("AAP Found");
-
 
29
                aap.Enable();
-
 
30
            }
-
 
31
 
-
 
32
            NITAHFSDevice ahfs = new NITAHFSDevice(bios);
-
 
33
            if (ahfs.init() == 0) {
-
 
34
                Console.WriteLine("AHCP/FSCP Found");
-
 
35
                ahfs.Enable();
-
 
36
            }
-
 
37
            */
-
 
38
            
21
          
39
            /*
22
            /*
40
            MchpUsbI2c usbi2c = new MchpUsbI2c();
23
            MchpUsbI2c usbi2c = new MchpUsbI2c();
41
            usbi2c.Settings.GetConnectionStatus();
24
            usbi2c.Settings.GetConnectionStatus();
42
            int count = usbi2c.Management.GetDevCount();
25
            int count = usbi2c.Management.GetDevCount();
43
            for (int i = 0; i < count; i++) {
26
            for (int i = 0; i < count; i++) {