A digital tachometer project written in Embedded C++