This article combines several useful concepts to make a user interface for a robotic alarm clock. The program can be modified to change the behavior of the robot when the alarm occurs. The article includes a solution to the surprisingly difficult task of extracting device names from Bluetooth devices paired to a PC. The article also shows how to easily use INI files to store settings and preferences. The article presents a robust, flexible communication structure between the robot and the PC. Visual Studio built in tools include ColorDialog, DateTimePicker, Timer, ToolStripMenuItem and StatusStrip.
File list:
SpheroAlarmClock
...............\bin
...............\...\Debug
...............\...\.....\settings.ini
...............\...\.....\SpheroAlarmClock.exe
...............\...\.....\SpheroAlarmClock.vshost.exe
...............\...\.....\SpheroAlarmClock.vshost.exe.manifest
...............\obj
...............\...\x86
...............\...\...\Debug
...............\...\...\.....\SpheroAlarmClock.csproj.FileListAbsolute.txt
...............\...\...\.....\SpheroAlarmClock.exe
...............\...\...\.....\SpheroAlarmClock.Properties.Resources.resources
...............\Properties
...............\..........\AssemblyInfo.cs
...............\..........\Resources.Designer.cs
...............\..........\Resources.resx
...............\..........\Settings.Designer.cs
...............\..........\Settings.settings
...............\CommPortSettings.cs
...............\Form1.cs
...............\Form1.Designer.cs
...............\ini.cs
...............\Packet.cs
...............\Program.cs
...............\SerialStatus.cs
...............\SpheroAlarmClock.csproj
...............\Streamer.cs
SpheroAlarmClock.sln
SpheroAlarmClock.suo