Physical Computing


Problems with old code by Student
September 16, 2009, 10:21 am
Filed under: Labs | Tags: , , ,

Hello again class, group 14 here again.

If your stuck on 3A (2) or (3) then the problem is because of some old code in the examples.

You need to change the following in ap_ReadAnalog.pde

beginSerial(9600)
Serial.begin(9600)

printInteger(value)
Serial.print(value)

printByte(10)
Serial.write(10)

In processing change the following in file pa_LDR.pde

size(xWidth, yHeight); framerate(fr);
size(xWidth, yHeight); frameRate(fr);

Christofer Stäke and Isac Sagerholm

Advertisements

Leave a Comment so far
Leave a comment



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



%d bloggers like this: