joesanford

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by joesanford

  1. oh, oh, I guess I got some files misplaced? My compile results: In file included from C:UsersjoeDocumentsArduinolibrariesWireutilitytwi.c:23:0: C:ChipKitmpide-0023-windows-20140821mpide-0023-windows-20140821hardwarepic32corespic32/avr/io.h:4:2: error: #error ******** This sketch or library uses AVR-specific code that may not work with the chipKIT platform. See this forum for more information on porting code to chipKIT [www.chipkit.org/forum/viewforum.php?f=7] ******** In file included from C:UsersjoeDocumentsArduinolibrariesWireutilitytwi.c:24:0: C:ChipKitmpide-0023-windows-20140821mp
  2. Thanks a lot. I can finally move forward with my project.
  3. I am new to all this. I want to run two dc motors but I want to start them after I press button btn1 and stop after btn2 is pressed. This is my first try. #include <MotorShield.h> // the setup routine runs once when you press reset: void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); } // the loop routine runs over and over again forever: void loop() { // read the input pin: int buttonState = readButton(btn1); // print out the state of the button: Serial.println(buttonState); delay(1); // delay i