Revision as of 14:21, 13 February 2012

Contents

Executive Summary

Our project aims to implement the emerging nodejs technique (the server side javascript) as a lightweight web server on the beagleboard and accomplish a series of remote monitoring and control of hardware pins like gpio/led/i2c on the beagleboard.

Give two sentences telling what works.

Give two sentences telling what isn't working.

End with a two sentence conclusion.

The sentence count is approximate and only to give an idea of the expected length.

2. Even though we can access to the gpio in the above way, we still need to find someway to access to the I2C information. In the I2C exercises, in the C code provided in exercise 5, we still need to find some way in our javaScript instead of using i2c_smbus_write_byte() and i2c_smbus_read_byte(). Now there are two options for us:

a) To translate tons of the C codes into JavaScript...

b) Try to run the ./myi2c excutable file inside script...

It seems that the second way is easier... We've already found a ActiveXObject.run method... We're working on this...

At last we successfully excuate the ./myi2c file inside our javascript using the following code: