Thursday, January 15, 2009

basic Interactive C codes. 1/15/09

This is the first code i wrote in interactive C.

void main()

{
fd(1);
bk(2);
printf("hey");
sleep(3.0);
bk(1);
fd(2);
sleep(5.0);
fd(1);
bk(2);
printf("bye");
off(1);

}


This is the code i wrote to put on the Roomba.

`void main()
{
beep();
fd(1);
fd(2);
sleep(1.0);
fd(1);
bk(2);
sleep(0.5);
beep();
}

semester showcase 1/15/09

What did you learn?
some basics in programing Interactive C.

What did you set out to do?
at first i wanted to program using python, then i switched to interactive c. Then i was going to write some codes and put them on blocks and run the codes i made. I decided i wanted to write codes for the roomba.

What was your problem and goal?
my problem was i count get the code i wrote onto the roomba.
my goal was to run codes i wrote on the roomba.

What did you actually do?
i ended up writing some codes but i dint succeed in my goal i had a set back, i coulnt get my code onto the roomba, because firmware wouldn't download. so i tried a bunch of different things to get firmware to download so i could get my program onto the roomba but i never figured it out.

what would you do differently?
i would try harder to figure out a solution to my problem, or change projects after i realized i count figure out the problem.

What would you do next?
next, i would hopefully have a break through and figure out my problem so i could write more codes and figure out more to do with the roomba.

Monday, December 22, 2008

12/22

list of things i have to do when i get back from vacation:
-put a code on the roomba
-write a code
-change/fix the code i wrote

Wednesday, December 17, 2008

Tuesday, December 16, 2008

12/16

today i looked at codes for the roomba and i am starting to learn how to write them. next class i plan to write my own code and test it.

Monday, December 15, 2008

"the big picture"

my overall goal is to create a program in Interactive C and program a programming block. with it.
the first step in doing this is to learn the language and make a few sample projects.
second i have to put a programming block together with 2 motors. my set back is i cant find 2 motors. after i complete this part of my project i have to test the program, and make small changes to make it work right. at some point i would like to program for the Roomba.

Thursday, December 11, 2008

12/11

today, i need to put one my the programs Ive all ready written on to a programming brick with two motors since my programss use 2 motors, and two wheels, a wheel for each motor. i need to test my code and see what i can change or fix to make it better.