Makerbot Watch Rev3 : It's aliiiiiiiiive!

43 views
Skip to first unread message

Romain Bazile

unread,
Sep 27, 2011, 1:37:55 PM9/27/11
to makerb...@googlegroups.com
Hey everyone!

Just a quick word to share my success! I finally managed to finish my
build, and program my board (using the usbTinyISP, I don't know why the
serial adapter didn't worked...).

Anyway, it's workiiiiiing!

I'll just add the sketch below, so you can test yours when it's built!

This is gonna be a programming weeeeeek!


Cheers everyone!

Romain Bazile

Code:
int rows[]={8,9,14,15,16,17};
int cols[]={3,4,5,6,7};


void allOff() {
for(int i=0; i<5; i++) {
digitalWrite(cols[i], HIGH);
}
for(int i=0; i<6; i++) {
digitalWrite(rows[i], LOW);
}
}

void setup() {
// initialize the digital pin as an output:
for(int i=1; i<18; i++)
{
pinMode(i, OUTPUT);
}
allOff();
}
// the loop() method runs over and over again,
// as long as the Arduino has power

void loop() {
for (int column = 0; column < 5; column++) {
for (int row = 0; row < 6; row++) {
allOff();
digitalWrite(rows[row],HIGH);
digitalWrite(cols[column],LOW);
delay(1000);
}
}
}

Ethan Dicks

unread,
Sep 27, 2011, 1:39:41 PM9/27/11
to makerb...@googlegroups.com
On Tue, Sep 27, 2011 at 1:37 PM, Romain Bazile <groma...@gmail.com> wrote:
> Hey everyone!
>
> Just a quick word to share my success! I finally managed to finish my build,
> and program my board (using the usbTinyISP, I don't know why the serial
> adapter didn't worked...).

Did you load an Arduino boot loader onto your watch (with your
USBTinyISP) first?

> Anyway, it's workiiiiiing!

Congrats!

I hope to assemble mine this coming weekend.

-ethan

Romain Bazile

unread,
Sep 27, 2011, 1:44:22 PM9/27/11
to makerb...@googlegroups.com
On 09/27/2011 07:39 PM, Ethan Dicks wrote:
> On Tue, Sep 27, 2011 at 1:37 PM, Romain Bazile<groma...@gmail.com> wrote:
>> Hey everyone!
>>
>> Just a quick word to share my success! I finally managed to finish my build,
>> and program my board (using the usbTinyISP, I don't know why the serial
>> adapter didn't worked...).
> Did you load an Arduino boot loader onto your watch (with your
> USBTinyISP) first?
Yes, but then, while using the usb adapter it didn't worked... So I
tricked the boards.txt by adding a mw3.upload.using=usbtinyisp and
uploaded my sketch in this way!


And it works! :D :D


>> Anyway, it's workiiiiiing!
> Congrats!

Thanks!

Reply all
Reply to author
Forward
0 new messages