Skip to main content

Posts

Showing posts from September, 2018

How to fix Lego Mindstorms EV3 Bluetooth connection

The EV3 Bluetooth connection feature is very useful, but can also be frustrating when it fails. Here are instructions to fix a failed Bluetooth connection. This was written for Windows 7 where it seems to fail more regularly. Turn off the EV3 bot. (Wait several seconds for it to turn off completely.) Run the EV3 software on the PC (if not already running) and press the Bluetooth Scan feature. The scan should now find no bots listed as being connected.  If it still shows the EV3 bot, press Scan again repeatedly until no bots are shown. Close the EV3 software on the PC. Go to the Windows Devices and Printers screen, find the EV3 bot device, right click, and remove the device. Restart the PC. The shutdown process may complain that a process is hung that can't be stopped.  This is the misbehaving Bluetooth driver. Now turn on the EV3 bot. After the PC restarts, go to the Windows Devices and Printers screen, and click Add device. The EV3 should show up as a found device th...

Convert a Microsoft Visual Studio project from VC6 to VC2017

How to convert a Microsoft Visual Studio project from VC6 to VC2017 In VS2017, open the *.dsp file of the project to be converted. Accept the suggestion to convert the project to the new VS2017. In the menu: Project\Properties. Change the selection to “All Configurations” On the General tab: Character Set: MBCS On the C/C++ tab: Enable Function-Level linking: Yes (/Gy) On the C/C++ tab: Warning Level: /W2 On the Linker tab: Image Has Safe Exception Handlers: No On the Linker tab: Generate Manifest: No In the menu: View\Solution Explorer. Browse to and open stdafx.h, and add these lines near the beginning, after the #include guards: #define _WIN32_WINNT 0x05010000   // Might not need this #define _CRT_SECURE_NO_WARNINGS #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS   

First Post

This is a blog devoted to topics, some related to programming, some even useful. The blog address is a dedication to my first computer (1983), the TRS-80 Color Computer. It used a Motorola 6809E microprocessor. The 'E' meant it used an external clock circuit. Still hold fond memories of that time, of that machine. When the mood strikes, I will post things here. For years I had small, personal web pages hosted in turn by my schools, and my ISPs. My new ISP no longer provides that service. I've been out of school for many years. . . So here is Blog Post #1.