Example #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     IXAccelHome HomeObject = new IXAccelHome();
     Application.Run(HomeObject);
 }
Example #2
0
 public GraphUpdaterThreadClass(IXAccelHome form)
 {
     MainForm = form;
 }
Example #3
0
        public USBThreadClass(IXAccelHome mainform)
        {
            MainForm = mainform;
            rawAccelData = new List<Byte>();
            parsedData = new List<Int16>();

            //TEST
            for (int i = 0; i < 4800; i++)
            {
                short y = (short)(Math.Sin(i * Math.PI / 15.0) * 16.0);
                parsedData.Add(y);
            }
        }