TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: steve77 on November 19, 2019, 10:57:07 PM

Title: TinyZero with Servo Shield and example program
Post by: steve77 on November 19, 2019, 10:57:07 PM
The TinyZero with ServoShield runs the sample program to make servos oscillate if the Serial Monitor is opened, as the instructions state.  It continues if the TZ is unplugged from the USB port, but stops and will not restart if the TZ is cycled on/off/on while unplugged from the USB.  The TZ is operating on the Lipo battery.

Is there some code I can add to the sample program so the ServoShield will operate the servos when turned on while not attached to the computer and Serial Monitor?
Title: Re: TinyZero with Servo Shield and example program
Post by: lennevia on November 20, 2019, 11:38:19 AM
Hello Steve,

You will just need to comment out the line:

  while(!SerialMonitorInterface)//This will block until the Serial Monitor is opened on TinyScreen+/TinyZero platform

Then the example you have should work without the Serial Monitor (wirelessly)

Best,
RĂ©na