Code used in arduino projects