corrections

Added more pin constants and finished the `set` function.