Linked analog write method call in main loop