MODBUS ASCII LRC Computation in C++

In C++, IoT by timfanelliLeave a Comment

I’m currently working on a project interfacing a BeagleBone Black to a drive control unit, which communicates using MODBUS ASCII over RS-232. The biggest challenge with the communication protocol is …

Monty Hall Problem

In C++, Programming by timfanelliLeave a Comment

I read a very interesting article on the NY Times today, linked from this /. article, about the Monty Hall Problem. The problem has apparently caused much embarrassment among mathematicians, …

Drawing a RubberBand in WPF

In C#, WPF by timfanelli1 Comment

Overview Rubber-banding is a very simple and familiar concept in most graphical applications where the outline of a shape to be drawn is painted to the screen, following the mouse …