implemented FW version differentiation, fixed offsets for FW1030, some minor fixes
Added commented out -D reference in the Makefile for using with firmware 1027