Fab Academy

Miguel Lourenco

 


 
 
 

 
 
 
Interface and Application Programming

 

I decided to use original hello.light.45 board, make some changes on it, and develop an application with visual studio 2008 (registrated version from my institution, but everyone may use express version for free).

Application developed in Visual Studio

 

 

The goal was to develop a graphical interface, from reading received data and printing the results on PC Desktop. I used the hello.light board that I had to use in input devices assignment. Now, the task could be more complicated, I must read the signal from an external sensor via FTDI cable (serial protocol) and show the results trough graphical application on PC Desktop.

 

 

Button

 

ComboBox

 

ListBox

 

 

ProgressBar

 

Adding collection to ComboBox

 

The bar should move from left to right when Light is increased. To do it, I print the values in ListBox and shows the progressbar after converting all the received data (255 - variable received) .

Application developed with Visual Studio ( using C# code)

 

 


 

Modify delay to 200 ms from hello.light.c original

 

Wiring to reprogram the hello.light board

 

Compile c file from Termial (ubuntu)

 

 

Adding SerialPort

 



 


C sharp code