Welcome to EMGRobotics
EMGRobotics helps you, "Build Smart Robots."
Any Questions, please ask - EMGRobotics@gmail.com
It has been awhile since I posted a blog post on this awesome site so I decided to make a short video about MINDS-i. Lots of people always ask me what is MINDS-i so you can consider this my official reply. :)
Minds-i are the creators of a proprietary line of products that are used to create the most advanced, dynamic and durable…Continue
Normally OpenCV for Android displays the preview in landscape mode. For STEMbot1 and STEMbot2 I needed to display the preview in a portrait mode.
Here is the code I came up with.
In your manifest file change the orientation from landscape to portrait.
The following is code to control two RC servos using the timers on a MSP430G2231.
The only interrupt occurs when the timer counter overflows (approximately every 16ms).
Simply set Servo1Abs or Servo2Abs to the desired servo position // 2000 - 10000
#define SERVO_CENTER 5625 // Measure by adjusting until scope shows 1500us
#define SERVO_MIN 1875