Even if it doesn't need realtime performance, which it might, it's interfacing with custom hardware, so it's going to be tricky to emulate. This is more the kind of thing you'd use an Arduino for. The Arduino's old-fashioned 5V IO is probably useful in this case.