This is an arduino library that I made for digital pin functions, it is faster than orignal functions and takes less memory.