This DLL (Dynamic Link Library) file allows you to develop rapidly windows desktop UI application with any language that support .NET framework interfacing with a BoardActivator activated Arduino UNO board.
To detect the Arduino board connected Comm/USB port
Arduino cal = new Arduino;
string ComPort;
ComPort = cal.DetectArduinoPort();
To connect to the Arduino board connected Comm/USB port
cal.connect(ComPort); or cal.connect("COM10");
To disconnect the Ardduino board from the connected port
cal.Disconnect();
To check if the Arduino board has been activated for ICOMA.DLL or FlowLogic 6.
cal.CheckBoard(); will return true or false
To read all the configured Input/output fron the Arduino board
cal.ReadIOs();
To ON/OFF the Arduino Board's digital pin
cal.DigitalWrite(6,"ON") or cal.DigitalWrite(6,"OFF")
to turn ON/OFF digital device connected to pin 6
Pin available for DigitalWrite function > 6,7,8,9 and 10
To read the status of the digital input signal from digital device like from push button
string Dstatus2;
Dstatus2 = cal.DigitalRead(2); will return 1 for ON and 0 for OFF
To read the of Analog value from analog device like LDR sensor
string Avalue0;
Avalue0 = cal.DigitalRead(0); will return 1 for ON and 0 for OFF
To send value to PWM pin to control devices like to fade LEDs, DC motor speed ..
cal.PwmWrite(6, 120); pin supported are 6,9,10
To read value from DHT11 sensor connected to digital pin 5
string Humidity;
Humidity = cal.Humidity();
To read value from DHT11 sensor connected to digital pin 5
string Temperature;
Temperature = cal.Temperature();
To read Proximity sonar sensor connected to digital pin 2 (trigger) and 3(Echo)
string Sonar;
Sonar = cal.Sonar()
To wirte value to 74HC595 Shift Register connected to pin 8,9,10
cal.ShiftWrite(0,"0");
bit > 0 to 7 status > "0" for OFF and "1" for ON
To write data to 16x2 LCD panel connected to SDA,SCL
data1 = "Hello", data2 ="Welcome"
cal.LCDline1("Hello"); LCDline2("Welcome")
or
cal.LCDline1(data1); LCDline2(data2)
To rotate the Servo motor connected to Arduino board pin
cal.ServoMotor(8, 100,50);
rotate servo mot connected pin 8 to 100 degree angle at 50 speed
Servo pin > 8,9,10,11,12,13 angle > 0 to 180 speed > 0 255
To turn 6 servo motor connected at pin 8,9,10,11,12,13 at one go at define speed
RoboticApp("10,"20,"100",160","40","90","200");
To play music using piezo buzzer connected to pin 8
cal.Tone("1250","500");
Melody data > 1250 and Duration data > 500 miliseconds
we hope to hear your feedback after using the current ICOMA.DLL version