After getting experience modifying code to install firmware for my Robo 3D R1 printer, I was looking at various applications for the Arduino platform. It's very versatile, and could replace a lot of discrete components with a tiny Uno or Leonardo board. I want to start with a simple servo project using a Leonardo board. A library sketch has a potentiometer controlling the movement of a servo which is used for steering. The servo mimics the direction of the potentiometer. I have a question about loading sketches. One sketch has the basic code to move the servo while another sketch has code to use an H-bridge with a dc brush motor. A separate encoder or potentiometer cold be used to track the movement of the dc motor. I wanted to have both working simultaneously (H-bridge with a dc motor, and a servo). Could I upload both sketches separately into the Arduino to achieve two functions or do I have to combine the code from both sketches into a new sketch, then upload it into the Arduino? My goal is to have a force (haptic) feedback system so that I could sense the position of the dc motor while turning a steering wheel. A servo's shaft is connected to a steering wheel, and the dc motor is connected to the steering system of a small go kart. The driver turns the steering wheel connected to a servo, and the dc motor turns the steering system. If the front wheels touch a curb or go into a pot hole, then the servo connected to the steering wheel will react accordingly, and move with resistance or move back slightly on its own to react to road conditions. It's basically a steer by wire system with a feel of the road to simulate the feel of a physical steering linkage. Similar servo systems tend to get out of alignment. The idea that I have is similar to the stop switches on the Robo printers. Instead of relying upon the preset steps to go from stop to stop (left to right & vise versa), stop switches, encoder feedback or potentiometer feedback tells the Arduino how many degrees the rotation is to either side so that it remains aligned. Basic non feedback systems just have set screws on a potentiometer preset so that it could only allow a limited amount of degrees of movement without over or under extending the servo.