chipKIT® Development Platform

Inspired by Arduino™

Fubarino

Created Thu, 13 Jun 2013 14:10:24 +0000 by veronis


veronis

Thu, 13 Jun 2013 14:10:24 +0000

I purchased a Fubarino mini. I downloaded the proper driver, and my system recognizes it. I tried to run the blink program from MPIDE but installing a LED on pin 13. Nothing happens. I also used the on-board LED on pin 1. Nothing happens. Any help would be greatly appreciated.


EmbeddedMan

Fri, 14 Jun 2013 03:22:07 +0000

Hi! Which version of MPIDE are you using? I recommend the latest test build as there are some minor updates to the Fubarino Mini support in them that may help.

The following sketch blinks the green LED on pin 1 of my Fubarino Mini:

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */

void setup() {                
  // initialize the digital pin as an output.
  // Pin PIN_LED1 has an LED connected on most Arduino and compatible boards:
  pinMode(PIN_LED1, OUTPUT);     
}

void loop() {
  digitalWrite(PIN_LED1, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(PIN_LED1, LOW);    // set the LED off
  delay(1000);              // wait for a second
}

*Brian


veronis

Fri, 14 Jun 2013 11:49:39 +0000

I have the latest version of MPIDE. When I plug in the Fubarino, the LED on pin 1. starts blinking automatically. I compiled the example program you sent me and uploaded it. Fubarino accepted it (the green LED blinked a bit faster for a second), but then the LED went dark.


EmbeddedMan

Fri, 14 Jun 2013 12:29:46 +0000

Hmm. So when you say 'latest version', you're using MPIDE 20130609-test, right?

If you reset your Fubarino after the program is uploaded, do you get a blinking LED?

If you change the timeout value in the code (say to 2 seconds) and then re-program and then reset, does the blinking LED change to 2s on/2s off?

Do you get any errors from MPIDE when you do an upload?

*Brian