Multiplatform simple hardware library