Example #1
0
 /// <summary>
 /// Display LEGO Help to the console
 /// </summary>
 public static void ShowLegoHelp(LegoNxtService legoService)
 {
     legoService.LogConsoleError("Please make sure the LEGO NXT brick is turned on, connected\r\n"
                                 + "    via Bluetooth, and configured to the proper port.\r\n"
                                 + "    If you are having difficulty connecting for the first time,\r\n"
                                 + "    please refer to the LEGO NXT readme found in your installation\r\n"
                                 + "    directory at ...\\Samples\\Platforms\\LEGO\\NXT\\readme.htm\r\n");
 }
Example #2
0
 /// <summary>
 /// Pass in a pointer to the service base so we can do logging.
 /// </summary>
 /// <param name="serviceBase"></param>
 public LegoConnection(LegoNxtService legoService)
 {
     _legoService = legoService;
 }