2 Arduino connected through i2c Slave Arduino reads data from phototransistor and send them to Arduino Master This change PWM command so that the engine has run 4 rotations per second as set.
I made a C# applicationto control two servos via USB withArduino.
When youpullthesliderbar, the value is sent to theArduino, which represent thepositions of theservo. Each servo has his own bar.
C# code :
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.Threading;
namespace SERIAL_ANALOG_WRITE { public partial class Form1 : Form { public Form1() { InitializeComponent(); }