Updated library and .ino to use new library