This is the latest working repository used in our demo video for the Maxim to display temperature readings on Bluetooth

Dependencies:   USBDevice

Committer:
darienf
Date:
Sat Apr 10 03:05:42 2021 +0000
Revision:
3:36de8b9e4b1a
ayoooo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
darienf 3:36de8b9e4b1a 1 using System;
darienf 3:36de8b9e4b1a 2 using System.Collections.Generic;
darienf 3:36de8b9e4b1a 3 using System.Linq;
darienf 3:36de8b9e4b1a 4 using System.Windows.Forms;
darienf 3:36de8b9e4b1a 5
darienf 3:36de8b9e4b1a 6 namespace HealthSensorPlatform
darienf 3:36de8b9e4b1a 7 {
darienf 3:36de8b9e4b1a 8 static class Program
darienf 3:36de8b9e4b1a 9 {
darienf 3:36de8b9e4b1a 10 /// <summary>
darienf 3:36de8b9e4b1a 11 /// The main entry point for the application.
darienf 3:36de8b9e4b1a 12 /// </summary>
darienf 3:36de8b9e4b1a 13 [STAThread]
darienf 3:36de8b9e4b1a 14 static void Main()
darienf 3:36de8b9e4b1a 15 {
darienf 3:36de8b9e4b1a 16 if (Environment.OSVersion.Version.Major >= 6)
darienf 3:36de8b9e4b1a 17 SetProcessDPIAware();
darienf 3:36de8b9e4b1a 18
darienf 3:36de8b9e4b1a 19 Application.EnableVisualStyles();
darienf 3:36de8b9e4b1a 20 Application.SetCompatibleTextRenderingDefault(false);
darienf 3:36de8b9e4b1a 21 Application.Run(new HspForm());
darienf 3:36de8b9e4b1a 22 }
darienf 3:36de8b9e4b1a 23
darienf 3:36de8b9e4b1a 24 [System.Runtime.InteropServices.DllImport("user32.dll")]
darienf 3:36de8b9e4b1a 25 private static extern bool SetProcessDPIAware();
darienf 3:36de8b9e4b1a 26 }
darienf 3:36de8b9e4b1a 27 }