hello,it's been a long time..by the way, i try your code for the arduino but when i use to compile this, there is an error occur in this code:Code: [Select] pinMode(kaki, INPUT) which means invalid conversion from int* to 'unit8_t'..what does it mean?..i used the arduino version 0021..thanks for keeping in touch..
change pinMode(kaki, INPUT) to pinMode(kaki[i], INPUT)
Create a new project and use the code below you need a put a label called (label1)and caption it "Com Port Number. add a communication object named (MSComm1). Put in a text box called (ComPort). Add another longer text box called (text1). add a command button called (Command1)change the caption to "find com port". now add another text box called (text1).Next add a shape object called (Shape1)compile and run the code. Put the number of the com port into the text box called ComPort... just type in "1". click the command button and the other text box should show the pressure and the shape object should change colors.
Code: [Select] baca=digitalRead(kaki);that means invalid conversion from int* to 'unit8_t'.
but another thing appears as an error in this code: