Subversion Repositories group.electronics

Rev

Rev 161 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 161 Rev 178
Line 3... Line 3...
3
using System.Linq;
3
using System.Linq;
4
using System.Text;
4
using System.Text;
5
using System.Threading.Tasks;
5
using System.Threading.Tasks;
6
using System.Timers;
6
using System.Timers;
7
 
7
 
-
 
8
using vJoyInterfaceWrap;
8
using MCP2221;
9
using MCP2221;
9
 
10
 
10
namespace nitdcscore
11
namespace nitdcscore
11
{
12
{
12
    class Program
13
    class Program
Line 14... Line 15...
14
        
15
        
15
 
16
 
16
        static void Main(string[] args) {
17
        static void Main(string[] args) {
17
 
18
 
18
            Globals.DcsBiosInit();
19
            Globals.DcsBiosInit();
-
 
20
            Globals.NitvJoyInit();
19
 
21
 
20
            mcp2221 mcp = new mcp2221();
22
            mcp2221 mcp = new mcp2221();
21
            mcp.Enabled = true;
23
            mcp.Enabled = true;
22
 
24
 
23
          
-
 
24
            /*
25
            /*
25
            MchpUsbI2c usbi2c = new MchpUsbI2c();
26
            MchpUsbI2c usbi2c = new MchpUsbI2c();
26
            usbi2c.Settings.GetConnectionStatus();
27
            usbi2c.Settings.GetConnectionStatus();
27
            int count = usbi2c.Management.GetDevCount();
28
            int count = usbi2c.Management.GetDevCount();
28
            for (int i = 0; i < count; i++) {
29
            for (int i = 0; i < count; i++) {