Automatic Pill Dispenser code convert

OK, I'll bite. What's wrong with the project as it is that requires a conversion to the pi?