Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel
|
|
- Emily Johnston
- 5 years ago
- Views:
Transcription
1 Form Connection Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Public Class connection ' Dim myport As Array Delegate Sub SetTextCallback(ByVal [text] As String) 'Added to prevent threading errors during receiveing of data ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load myport = IO.Ports.SerialPort.GetPortNames() ComboBox1.Items.AddRange(myPort) ' Private Sub ComboBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.Click ' Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click SerialPort1.PortName = ComboBox1.Text SerialPort1.BaudRate = ComboBox2.Text SerialPort1.Open() Button1.Enabled = False Button4.Enabled = True Button3.Enabled = True ' Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click SerialPort1.Close() Button1.Enabled = True Button4.Enabled = False Private Sub SerialPort1_DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived ReceivedText(SerialPort1.ReadExisting()) Private Sub ReceivedText(ByVal [text] As String) 'input from ReadExisting If Me.RichTextBox2.InvokeRequired Then Dim x As New SetTextCallback(AddressOf ReceivedText) Me.Invoke(x, New Object() (text)) Else Me.RichTextBox2.Text &= [text] 'append text
2 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.Hide() Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick RichTextBox2.Clear() Timer1.Stop() Private Sub RichTextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox2.TextChanged Timer1.Interval = 2000 Timer1.Start() Private Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Monitoring.Show() Me.WindowState = FormWindowState.Minimized Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged Button1.Enabled = True End Class Form Monitoring Public Class Monitoring Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick Label1.Text = Format(Now, "hh.mm") Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Senin.Show() Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Selasa.Show() Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Rabu.Show() Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Kamis.Show()
3 Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Jum_at.Show() Private Sub Monitoring_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Membuka lab 2 CA - 6 CD pada hari senin If Label1.Text = Senin.TextBox1.Text Then connection.serialport1.write("1") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CA" If Label1.Text = Senin.TextBox2.Text Then connection.serialport1.write("2") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CB" If Label1.Text = Senin.TextBox3.Text Then connection.serialport1.write("3") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CC" If Label1.Text = Senin.TextBox4.Text Then connection.serialport1.write("4") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CD" If Label1.Text = Senin.TextBox8.Text Then connection.serialport1.write("5") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CA" If Label1.Text = Senin.TextBox7.Text Then connection.serialport1.write("6") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CB" If Label1.Text = Senin.TextBox6.Text Then connection.serialport1.write("7") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CC" If Label1.Text = Senin.TextBox5.Text Then connection.serialport1.write("8") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CD" If Label1.Text = Senin.TextBox12.Text Then connection.serialport1.write("9") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CA" If Label1.Text = Senin.TextBox11.Text Then connection.serialport1.write("a") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CB"
4 If Label1.Text = Senin.TextBox10.Text Then connection.serialport1.write("b") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CC" If Label1.Text = Senin.TextBox9.Text Then connection.serialport1.write("c") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CD" 'Membuka lab 2 CA - 6 CD pada hari selasa If Label1.Text = Selasa.TextBox1.Text Then connection.serialport1.write("1") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CA" If Label1.Text = Selasa.TextBox2.Text Then connection.serialport1.write("2") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CB" If Label1.Text = Selasa.TextBox3.Text Then connection.serialport1.write("3") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CC" If Label1.Text = Selasa.TextBox4.Text Then connection.serialport1.write("4") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CD" If Label1.Text = Selasa.TextBox8.Text Then connection.serialport1.write("5") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CA" If Label1.Text = Selasa.TextBox7.Text Then connection.serialport1.write("6") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CB" If Label1.Text = Selasa.TextBox6.Text Then connection.serialport1.write("7") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CC" If Label1.Text = Selasa.TextBox5.Text Then connection.serialport1.write("8") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CD" If Label1.Text = Selasa.TextBox12.Text Then connection.serialport1.write("9") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CA" If Label1.Text = Selasa.TextBox11.Text Then
5 connection.serialport1.write("a") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CB" If Label1.Text = Selasa.TextBox10.Text Then connection.serialport1.write("b") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CC" If Label1.Text = Selasa.TextBox9.Text Then connection.serialport1.write("c") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CD" 'Membuka lab 2 CA - 6 CD pada hari Rabu If Label1.Text = Rabu.TextBox1.Text Then connection.serialport1.write("1") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CA" If Label1.Text = Rabu.TextBox2.Text Then connection.serialport1.write("2") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CB" If Label1.Text = Rabu.TextBox3.Text Then connection.serialport1.write("3") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CC" If Label1.Text = Rabu.TextBox4.Text Then connection.serialport1.write("4") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CD" If Label1.Text = Rabu.TextBox8.Text Then connection.serialport1.write("5") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CA" If Label1.Text = Rabu.TextBox7.Text Then connection.serialport1.write("6") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CB" If Label1.Text = Rabu.TextBox6.Text Then connection.serialport1.write("7") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CC" If Label1.Text = Rabu.TextBox5.Text Then connection.serialport1.write("8") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CD" If Label1.Text = Rabu.TextBox12.Text Then connection.serialport1.write("9")
6 RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CA" If Label1.Text = Rabu.TextBox11.Text Then connection.serialport1.write("a") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CB" If Label1.Text = Rabu.TextBox10.Text Then connection.serialport1.write("b") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CC" If Label1.Text = Rabu.TextBox9.Text Then connection.serialport1.write("c") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CD" 'Membuka lab 2 CA - 6 CD pada hari Kamis If Label1.Text = Kamis.TextBox1.Text Then connection.serialport1.write("1") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CA" If Label1.Text = Kamis.TextBox2.Text Then connection.serialport1.write("2") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CB" If Label1.Text = Kamis.TextBox3.Text Then connection.serialport1.write("3") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CC" If Label1.Text = Kamis.TextBox4.Text Then connection.serialport1.write("4") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CD" If Label1.Text = Kamis.TextBox8.Text Then connection.serialport1.write("5") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CA" If Label1.Text = Kamis.TextBox7.Text Then connection.serialport1.write("6") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CB" If Label1.Text = Kamis.TextBox6.Text Then connection.serialport1.write("7") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CC" If Label1.Text = Kamis.TextBox5.Text Then connection.serialport1.write("8") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CD"
7 If Label1.Text = Kamis.TextBox12.Text Then connection.serialport1.write("9") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CA" If Label1.Text = Kamis.TextBox11.Text Then connection.serialport1.write("a") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CB" If Label1.Text = Kamis.TextBox10.Text Then connection.serialport1.write("b") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CC" If Label1.Text = Kamis.TextBox9.Text Then connection.serialport1.write("c") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CD" 'Membuka lab 2 CA - 6 CD pada hari Jumat If Label1.Text = Jum_at.TextBox1.Text Then connection.serialport1.write("1") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CA" If Label1.Text = Jum_at.TextBox2.Text Then connection.serialport1.write("2") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CB" If Label1.Text = Jum_at.TextBox3.Text Then connection.serialport1.write("3") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CC" If Label1.Text = Jum_at.TextBox4.Text Then connection.serialport1.write("4") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 2 CD" If Label1.Text = Jum_at.TextBox8.Text Then connection.serialport1.write("5") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CA" If Label1.Text = Jum_at.TextBox7.Text Then connection.serialport1.write("6") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CB" If Label1.Text = Jum_at.TextBox6.Text Then connection.serialport1.write("7") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CC" If Label1.Text = Jum_at.TextBox5.Text Then connection.serialport1.write("8")
8 RichTextBox1.Text = "Lab Digunakan Oleh Kelas 4 CD" If Label1.Text = Jum_at.TextBox12.Text Then connection.serialport1.write("9") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CA" If Label1.Text = Jum_at.TextBox11.Text Then connection.serialport1.write("a") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CB" If Label1.Text = Jum_at.TextBox10.Text Then connection.serialport1.write("b") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CC" If Label1.Text = Jum_at.TextBox9.Text Then connection.serialport1.write("c") RichTextBox1.Text = "Lab Digunakan Oleh Kelas 6 CD" Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Show() TextBox2.Show() Label4.Show() Label5.Show() Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click If TextBox1.Text = "admin" And TextBox2.Text = "12345" Then Button7.Show() Button8.Show() Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click connection.serialport1.write("d") RichTextBox1.Text = "Lab Dibuka Oleh Teknisi" Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click connection.serialport1.write("e") RichTextBox1.Text = "Lab Ditutup" End Class
9 Form Senin Public Class Senin Private Sub Senin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database3DataSet.Lab_Elektronika' table. You can move, or remove it, as needed. Me.Lab_ElektronikaTableAdapter.Fill(Me.Database3DataSet.Lab_Elektronika) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click LabElektronikaBindingSource.EndEdit() Lab_ElektronikaTableAdapter.Update(Database3DataSet.Lab_Elektronika) End Class Form Selasa Public Class Selasa Private Sub Selasa_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database3DataSet.Elektronika_selasa' table. You can move, or remove it, as needed. Me.Elektronika_selasaTableAdapter.Fill(Me.Database3DataSet.Elektronika_selasa) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ElektronikaSelasaBindingSource.EndEdit() Elektronika_selasaTableAdapter.Update(Database3DataSet.Elektronika_selasa) End Class Form Rabu Public Class Rabu Private Sub Rabu_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database3DataSet.Elektronika_Rabu' table. You can move, or remove it, as needed. Me.Elektronika_RabuTableAdapter.Fill(Me.Database3DataSet.Elektronika_Rabu) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ElektronikaRabuBindingSource.EndEdit()
10 Elektronika_RabuTableAdapter.Update(Database3DataSet.Elektronika_Rabu) End Class Form Kamis Public Class Kamis Private Sub Kamis_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database3DataSet.Elektronika_kamis' table. You can move, or remove it, as needed. Me.Elektronika_kamisTableAdapter.Fill(Me.Database3DataSet.Elektronika_kamis) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ElektronikaKamisBindingSource.EndEdit() Elektronika_kamisTableAdapter.Update(Database3DataSet.Elektronika_kamis) End Class Form Jum at Public Class Jum_at Private Sub Jum_at_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database3DataSet._Elektronika_jum_at' table. You can move, or remove it, as needed. Me.Elektronika_jum_atTableAdapter.Fill(Me.Database3DataSet._Elektronika_jum_at) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ElektronikaJumatBindingSource.EndEdit() Elektronika_jum_atTableAdapter.Update(Database3DataSet._Elektronika_jum_at) End Class Form 3 Public Class Form3 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If ProgressBar1.Value = 100 Then Timer1.Stop() connection.show() Me.Hide() Else
11 ProgressBar1.Value = ProgressBar1.Value + 1 Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Enabled = True Timer1.Interval = 100 Timer1.Start() Timer2.Start() Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick Label2.Text = ProgressBar1.Value.ToString & "%" End Class Program Mikrokontroller Arduino ATMega 328 #include <SPI.h> #include <MFRC522.h> int lab1 = 2; int Hijau =6; int Merah =7; int Biru =5; char val; #define SS_PIN 10 #define RST_PIN 9 MFRC522 mfrc522(ss_pin, RST_PIN); void setup() pinmode(lab1,output); Serial.begin(9600); Serial.flush(); SPI.begin();
12 mfrc522.pcd_init(); Serial.println("Scanning Kartu Kunci..."); digitalwrite(lab1,low); void loop() if(serial.available() >0) digitalwrite( Biru, HIGH); digitalwrite ( Hijau, LOW); val = Serial.read(); Serial.println(val); Serial.flush(); switch (val) case 'd': if (digitalread(lab1) == LOW) digitalwrite(hijau, HIGH); digitalwrite(hijau, LOW); digitalwrite(biru, LOW); digitalwrite(lab1,high); break; case 'e': if (digitalread(lab1) == HIGH)
13 digitalwrite(biru, LOW); digitalwrite(hijau, HIGH); digitalwrite(hijau, LOW); digitalwrite(lab1,low); break; if (! mfrc522.picc_isnewcardpresent()) return; if (! mfrc522.picc_readcardserial()) return; Serial.print("UID tag :"); String content= ""; byte letter; for (byte i = 0; i < mfrc522.uid.size; i++) Serial.print(mfrc522.uid.uidByte[i] < 0x10? " 0" : " "); Serial.print(mfrc522.uid.uidByte[i], HEX); content.concat(string(mfrc522.uid.uidbyte[i] < 0x10? " 0" : " ")); content.concat(string(mfrc522.uid.uidbyte[i], HEX)); Serial.print("Message : ");
14 content.touppercase(); if (val == '1') if (content.substring(1) == "20 7B FD 73") Serial.println("Akses Diterima"); digitalwrite(lab1, HIGH); digitalwrite(hijau,high); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '2') if (content.substring(1) == "A0 3C FD 73")
15 Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '3') if (content.substring(1) == "50 06 F9 73") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW);
16 digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '4') if (content.substring(1) == "20 28 F9 73") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak");
17 digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '5') if (content.substring(1) == "B0 79 F7 73") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW);
18 if (val == '6') if (content.substring(1) == "B0 31 FA 73") Serial.println("Akses Diterima"); digitalwrite(lab1, HIGH); digitalwrite(hijau,high); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '7') if (content.substring(1) == "20 C4 F6 73") Serial.println("Akses Diterima");
19 digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '8') if (content.substring(1) == "D4 65 B0 AB") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000);
20 else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == '9') if (content.substring(1) == " B 7A") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH);
21 digitalwrite(merah, LOW); if (val == 'a') if (content.substring(1) == " A") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == 'b') if (content.substring(1) == "F CB")
22 Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW); if (val == 'c') if (content.substring(1) == "80 27 FF 73") Serial.println("Akses Diterima"); digitalwrite(hijau,high); digitalwrite(lab1, HIGH);
23 delay(10000); digitalwrite(lab1, LOW); digitalwrite(hijau,low); delay(3000); else Serial.println("Akses Ditolak"); digitalwrite(merah, HIGH); digitalwrite(merah, LOW);
24 DAFTAR PUSTAKA Balboa, mguel Arduino library for MFRC522 dari sumber : diakses pada (7 Maret 2017) tzaroon RFID CARD READER WITH ARDUINO,RFID-RC522 and LCD 16x2 dari sumber : RC522-and-LCD-16/. Diakses pada ( 5 Maret 2017) techbitar Using Visual Basic 2010 to Control Arduino Uno dari sumber: Diakses pada ( Maret 2017 ) Arduino stuff, Mostly. 8 juni Arduino and Visual Basic Part 1: Receiving Data From the Arduino. Diakses pada ( Maret 2017)
Serial-out Color Sensor. Overview. Features
Visit us @ www.thearyatechnologies.com Email: aryaprotech@gmail.com / info@thearyatechnologies.com Contact us@ 0253-2512131 Serial-out Color Sensor Overview Color sensor identifies primary colors (Red,
More informationElse. End If End Sub End Class. PDF created with pdffactory trial version
Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal
More informationAutomatic Railway Gate Control System Using RFID.
Project Report On Automatic Railway Gate Control System Using RFID. Submitted To: Mr. Hasib Md. Abid Bin Farid Assistant Professor, Dept. of EEE, AUST. Submitted By: 1. Name : Saila Kabir ID No. : 13.01.05.014
More informationDO NOT COPY AMIT PHOTOSTUDIO
AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights
More information超音波モータ制御プログラムの作成 (v1.2.1)
超音波モータ制御プログラムの作成 (v1.2.1) 2008 年 11 月 28 日 Masaaki MATSUO 構成機器 モータ本体 : フコク ロータリーエンコーダー内蔵型超音波モータ USB-60E モータ制御部 : フコク 位置決制御ドライバ DCONT-3-60 (SD13) コントローラ : Interface 2 軸絶縁パルスモーションコントローラ ( 直線補間エンコーダ入力 5V)
More informationMr.Khaled Anwar ( )
The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program
More informationVisual Basic: Opdracht Structuur
Visual Basic: Opdracht Structuur HoofdMenu.vb SubMenu_Kwadraat.vb Form1.vb Form2.vb Submenu_Som.vb Form3.vb Form4.vb SubMenu_Gem.vb Form5.vb Form6.vb Form10.vb SubMenu_Naam.vb Form7.vb Form11.vb Form8.vb
More informationFOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources
FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be
More informationVB.NET Programs. ADO.NET (insert, update, view records)
ADO.NET (insert, update, view records) VB.NET Programs Database: Student Table : Studtab (adno, name, age, place) Controls: DataGridView, Insert button, View button, Update button, TextBox1 (for Admission
More informationIn this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.
Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic
More informationRevision for Final Examination (Second Semester) Grade 9
Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual
More informationLAMPIRAN A: Listing Program
67 1. Form Menu Utama LAMPIRAN A: Listing Program Public Class MScreen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form1.Show()
More informationVISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS
VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,
More informationObjectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism
Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability
More informationPrivate Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Public Class Cours Private nc As Integer Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table
More information"!#... )*! "!# )+, -./ 01 $
Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?
More informationIMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants
IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please
More informationMy first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM
My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score
More informationPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1.
練習問題 1-1 Label1 Label1.Text = Label1.Text + 2 練習問題 1-2 Button2 Label1 Label1.Text = Label1.Text+ 2 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
More informationS.2 Computer Literacy Question-Answer Book
S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy
More informationLearning VB.Net. Tutorial 10 Collections
Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.
More information...015\Projects\Two_Channel_V1.0\Two_Channel_V1.0\Form1.vb 1
...015\Projects\Two_Channel_V1.0\Two_Channel_V1.0\Form1.vb 1 Imports System.IO.Ports Public Class Form1 Dim comport As String Dim receiveddata As String = "" Dim command_app_1 As String = "T,1,500,500>"
More informationLAMPIRAN A. Universitas Sumatera Utara
LAMPIRAN A Program CODEVISIONAVR Untuk program mikrokontroler pada Robot /***************************************************** Date : 8/24/2014 Chip type : ATmega16 Program type : Application AVR Core
More informationWEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled.
WEEK 1 Timer: A Timer is used to raise an event at user-defined intervals. It is optimized for use in Windows Forms applications. Timer is used to control and manage events that are time related. For example:
More informationโปรแกรมช วยทดสอบหม อแปลงกระแส
โปรแกรมช วยทดสอบหม อแปลงกระแส 1.เมน ของโปรแกรม ภาพท 1 หน าเมน ของโปรแกรม Public Class frmmain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
More informationCode: Week 13. Write a Program to perform Money Conversion. Public Class Form1
Write a Program to perform Money Conversion. Week 13 Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Dim a As Double a = TextBox1.Text If ComboBox1.SelectedItem
More informationLISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal
LISTING PROGRAM 1. Tampilan Awal Public Class Awal Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(10) If ProgressBar1.Value
More informationก Microsoft Visual Studio 2008
ก 58 ก ก ก ก ก 58 59 ก Microsoft Visual Studio 2008 1. DVD ก MSVS2008 ก MSVS2008 ก ก MSVS2008 ก ก 180 DVD DVD ก MSVS2008 ก ก Install Visual Studio 2008 2. ก ก ก ก ก Next 3. ก ก Options Page ก Custom ก
More informationUnit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol
Designing User Interface-2 Unit 3 Designing User Interface-2 Lesson 3.1-3 TreeView Control A TreeView control is designed to present a list in a hierarchical structure. It is similar to a directory listing.
More informationA Complete Tutorial for Beginners LIEW VOON KIONG
I A Complete Tutorial for Beginners LIEW VOON KIONG Disclaimer II Visual Basic 2008 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been
More informationLAMPIRAN. Universitas Sumatera Utara
LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD
More informationC4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions
C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions Between the comments included with the code and the code itself, you shouldn t have any problems understanding what
More informationCOPYRIGHTED MATERIAL. Taking Web Services for a Test Drive. Chapter 1. What s a Web Service?
Chapter 1 Taking Web Services for a Test Drive What s a Web Service? Understanding Operations That Are Well Suited for Web Services Retrieving Weather Information Using a Web Service 101 Retrieving Stock
More informationApéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1
Apéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1 Dim checkcont As Integer = 0, foto = 0 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
More informationInteracting with External Applications
Interacting with External Applications DLLs - dynamic linked libraries: Libraries of compiled procedures/functions that applications link to at run time DLL can be updated independently of apps using them
More informationLearning VB.Net. Tutorial 19 Classes and Inheritance
Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you
More informationCheck out the demo video of this application so you know what you will be making in this tutorial.
Visual Basic - System Information Viewer Welcome to our special tutorial of visual basic. In this tutorial we will use Microsoft visual studio 2010 version. You can download it for free from their website.
More informationTo enter the number in decimals Label 1 To show total. Text:...
Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.
More informationCALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3)
CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration MIS 15 Introduction to Business Programming Programming Assignment 3 (P3) Points: 50 Due Date: Tuesday, May 10 The purpose of
More informationCode: Write a Program for perform Money Conversion. Public Class Form1
Write a Program for perform Money Conversion. Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim a As Double a = TextBox1.Text
More informationMember Management System
Member Management System These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA)
More informationYear 12 : Visual Basic Tutorial.
Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows
More informationSecurity in Mifare Classic RFID
Security in Mifare Classic RFID Project 3, EITF55 Security, 2018 Issued 2018-01-15 Ben Smeets Dept. of Electrical and Information Technology, Lund University, Sweden Version 2018-01-15 What you will learn
More informationLearning VB.Net. Tutorial 17 Classes
Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If
More information: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET
2006-938: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET David Hergert, Miami University American Society for Engineering Education, 2006 Page 11.371.1 Creating Web
More informationUnit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types
Managing Data Unit 4 Managing Data Introduction Lesson 4.1 Data types We come across many types of information and data in our daily life. For example, we need to handle data such as name, address, money,
More informationPROGRAMMING ASSIGNMENT: MOVIE QUIZ
PROGRAMMING ASSIGNMENT: MOVIE QUIZ For this assignment you will be responsible for creating a Movie Quiz application that tests the user s of movies. Your program will require two arrays: one that stores
More informationProgramming with Visual Studio Higher (v. 2013)
Programming with Visual Studio Higher (v. 2013) Contents/Requirements Checklist Multiple selection: using ifs & case While Loops Using arrays Filling arrays Displaying array contents Types of variables:
More informationIntroduction to Arduino
Introduction to Arduino Paco Abad May 20 th, 2011 WGM #21 Outline What is Arduino? Where to start Types Shields Alternatives Know your board Installing and using the IDE Digital output Serial communication
More informationComputing Science Unit 1
Computing Science Unit 1 Software Design and Development Programming Practical Tasks Business Information Technology and Enterprise Contents Input Validation Find Min Find Max Linear Search Count Occurrences
More informationArduino Board Design. Nicholas Skadberg 4/30/09 EE290. Dr. Pushkin Kachroo
Arduino Board Design Nicholas Skadberg 4/30/09 EE290 Dr. Pushkin Kachroo Abstract In an effort to further understand the concept of digital control using a microprocessor, a simple serial output device
More informationSERIAL COMMUNICATION. _creates a data stream by sending one bit at a me _occurs sequen ally H...E...L...L...O
SERIAL COMMUNICATION Bits, Bytes, Data Rates and Protocols ASCI interpreta on Using terminal to view serial Data Serial Out from Arduino Serial In to Processing SERIAL COMMUNICATION _creates a data stream
More informationNow find the button component in the tool box. [if toolbox isn't present click VIEW on the top and click toolbox]
C# Tutorial - Create a Tic Tac Toe game with Working AI This project will be created in Visual Studio 2010 however you can use any version of Visual Studio to follow along this tutorial. To start open
More informationFinal Exam 7:00-10:00pm, April 14, 2008
Name:, (last) (first) Student Number: Section: Instructor: _P. Cribb_ L. Lowther_(circle) York University Faculty of Science and Engineering Department of Computer Science and Engineering Final Exam 7:00-10:00pm,
More informationThe Big Idea: Background: About Serial
Lesson 6 Lesson 6: Serial Serial Input Input The Big Idea: Information coming into an Arduino sketch is called input. This lesson focuses on text in the form of characters that come from the user via the
More informationPart 1 Connecting the Chips In your parser project add a new tab named "LCD.h" Copy this code into that tab //1// #include <QuickTypes.
Lab 10 - Serial Peripheral Interface/ LCD Display In this lab you are going to learn about how to use LCD displays and practice reading some datasheets. Part 1 Connecting the Chips In your parser project
More informationVARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals
VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,
More informationLISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara
A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True
More informationX Board V2 (SKU:DFR0162)
X Board V2 (SKU:DFR0162) X-Board V2, DFR0162 Contents 1 Introduction 2 Specifications 3 Pinouts 4 Tutorial 4.1 Requirements 4.2 Wiring Diagram 4.3 Sample code Introduction This is Version 2.0 of the X-board.
More informationForm Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date :
Form Adapter Example DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 Form_Adapter.doc DRAFT page 1 Table of Contents Creating Form_Adapter.vb... 2 Adding the
More informationLearning VB.Net. Tutorial 15 Structures
Learning VB.Net Tutorial 15 Structures Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.
More informationE11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011
E11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011 Outline Logistics Serial Input Physical Inputs/Outputs Randomness Operators Control Statements Logistics Logistics Tutoring hours:
More informationMATFOR In Visual Basic
Quick Start t t MATFOR In Visual Basic ANCAD INCORPORATED TEL: +886(2) 8923-5411 FAX: +886(2) 2928-9364 support@ancad.com www.ancad.com 2 MATFOR QUICK START Information in this instruction manual is subject
More informationGUI Design and Event- Driven Programming
4349Book.fm Page 1 Friday, December 16, 2005 1:33 AM Part 1 GUI Design and Event- Driven Programming This Section: Chapter 1: Getting Started with Visual Basic 2005 Chapter 2: Visual Basic: The Language
More informationSystem Analysis and Design
System Analysis and Design LAB RECORD-INFS -280/L Information Systems Department University of Nizwa, Sultanate of Oman Table of Contents Task. No: Title Page Nos. Date 1) VB Text box and Message Button
More informationSoftware for Auto-Generating Electrode Block Order Sheet: Study Case in Mold Machining Workshop
Journal of Mechanical Engineering and Mechatronics Submitted : 2016-10-03 ISSN: 2527-6212, Vol. 1 No. 2, pp. 106-117 Accepted : 2016-10-07 2016 Pres Univ Press Publication, Indonesia Software for Auto-Generating
More informationnamespace led { public partial class Form1 : Form { SerialPort seriport;
1 # 1 x 330 Ω direnç, 1 x LED // C# - Arduino LED yak-söndür void setup() pinmode(53,output); void loop() if (Serial.available()) char x=serial.read(); if (x=='a') digitalwrite(53,high); if (x=='k') digitalwrite(53,low);
More informationDESERT CODE CAMP
Implementing Multiple Serial Ports On An Arduino DESERT CODE CAMP 2011.2 Presented by Don Doerres Embedded Pro Guy don@azlaborlaw.com THE ARDUINO Arduino is Italian for Strong Friend The basic Arduino
More informationフラクタル 1 ( ジュリア集合 ) 解説 : ジュリア集合 ( 自己平方フラクタル ) 入力パラメータの例 ( 小さな数値の変化で模様が大きく変化します. Ar や Ai の数値を少しずつ変化させて描画する. ) プログラムコード. 2010, AGU, M.
フラクタル 1 ( ジュリア集合 ) PictureBox 1 TextBox 1 TextBox 2 解説 : ジュリア集合 ( 自己平方フラクタル ) TextBox 3 複素平面 (= PictureBox1 ) 上の点 ( に対して, x, y) 初期値 ( 複素数 ) z x iy を決める. 0 k 1 z k 1 f ( z) z 2 k a 写像 ( 複素関数 ) (a : 複素定数
More information1. Create your First VB.Net Program Hello World
1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright
More informationPrivate Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub
LISTING PROGRAM Menu_Utama.vb Public Class FrmUtama Private Sub DataMovieToolStripMenuItem_Click(ByVal sender As DataMovieToolStripMenuItem.Click FrmMovie.ShowDialog() Private Sub DataPeminjamToolStripMenuItem_Click(ByVal
More informationExercise 6. Controlling of a bipolar stepper motor with the help of eprodas SCI module and program language Visual Basic
1 Exercise 6 Controlling of a bipolar stepper motor with the help of eprodas SCI module and program language Visual Basic A bipolar stepper motor fundamentally consists of two windings and a magnetic anchorless
More informationTHE DESIGN OF GREENHOUSE ENVIRONMENT MONITORING SYSTEM BASED ON ZIGBEE
THE DESIGN OF GREENHOUSE ENVIRONMENT MONITORING SYSTEM BASED ON ZIGBEE Chen Guoshao, Wang Zhongsheng, Shang Xiao Dept. of Computer Science & Engineering, Xi an Technological University, Xi an, China 710021
More informationCIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1
Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. Router A Router B Router C Router D Network Next Hop Next Hop Next Hop Next
More informationHow to Validate DataGridView Input
How to Validate DataGridView Input This example explains how to use DR.net to set validation criteria for a DataGridView control on a Visual Studio.NET form. Why You Should Use This To add extensible and
More informationDistributed Real- Time Control Systems
Distributed Real- Time Control Systems Lecture 4 Embedded Systems Communica:ons A. Bernardino, C. Silvestre, IST- ACSDC 1 Interfaces I/O Digital I/O Analog Input PWM Serial SPI TWI A. Bernardino, C. Silvestre,
More informationDisclaimer. Trademarks. Liability
Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft
More informationCOPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1
Part 1 Visual Basic: The Language Chapter 1: Getting Started with Visual Basic 2010 Chapter 2: Handling Data Chapter 3: Visual Basic Programming Essentials COPYRIGHTED MATERIAL Chapter 1 Getting Started
More informationDéclaration du module
Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return
More informationChapter 2 Exploration of a Visual Basic.Net Application
Chapter 2 Exploration of a Visual Basic.Net Application We will discuss in this chapter the structure of a typical Visual Basic.Net application and provide you with a simple project that describes the
More informationSavoy ActiveX Control User Guide
Savoy ActiveX Control User Guide Jazz Soft, Inc. Revision History 1 Revision History Version Date Name Description 1.00 Jul, 31 st, 2009 Hikaru Okada Created as new document 1.00a Aug, 22 nd, 2009 Hikaru
More informationCIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1
Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is
More informationLAMPIRAN A. LISTING PROGRAM
78 LAMPIRAN A. LISTING PROGRAM Form Login.vb Imports MySql Imports MySql.Data Imports MySql.Data.MySqlClient Public Class FormLogIn Private Sub BtnLoginClick(ByVal sender As System.Object, ByVal e As System.EventArgs)
More informationUnit 3 Additional controls and Menus of Windows
Working with other controls of toolbox: DateTime Picker If you want to enable users to select a date and time, and to display that date and time in the specified format, use the DateTimePicker control.
More informationRunning the Altair SIMH from.net programs
Running the Altair SIMH from.net programs The Altair SIMH simulator can emulate a wide range of computers and one of its very useful features is that it can emulate a machine running 50 to 100 times faster
More informationSantiago Canyon College Computer Science
P a g e 1 Santiago Canyon College Computer Science The.Net Threading Model Introduction The purpose of this paper is to introduce you to multi-threading in Visual Studio. Learning how to take advantage
More informationFUNCTIONS For controlling the Arduino board and performing computations.
d i g i t a l R e a d ( ) [Digital I/O] Reads the value from a specified digital pin, either HIGH or LOW. digitalread(pin) pin: the number of the digital pin you want to read HIGH or LOW Sets pin 13 to
More informationHerefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3)
Student: Candidate Number: Assessor: Len Shand Herefordshire College of Technology Centre 24150 Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Course: Unit: Title:
More informationDisclaimer. Trademarks. Liability
Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft
More informationFUNCTIONS USED IN CODING pinmode()
FUNCTIONS USED IN CODING pinmode() Configures the specified pin to behave either as an input or an output. See the description of digital pins for details on the functionality of the pins. As of Arduino
More informationDRAWING AND MOVING IMAGES
DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,
More informationARDUINO. By Kiran Tiwari BCT 2072 CoTS.
ARDUINO By Kiran Tiwari BCT 2072 CoTS www.kirantiwari.com.np SO What is an Arduino? WELL!! Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Why Arduino? Simplifies
More informationSpecification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3.
Part Number : Product Name : FK-FA1410 12-LED AND 3-BOTTON SHIELD This is the experimental board for receiving and transmitting data from the port of microcontroller. The function of FK-FA1401 is fundamental
More informationVISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)
5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced
More informationLIGHT_P_TOGGLE, LIGHT_N_TOGGLE, BATTERY_TOGGLE, ALTERNATOR_TOGGLE, AVIONICS_TOGGLE, FLOAT_RETRACT, FLOAT_EXTEND }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; using Microsoft.FlightSimulator.SimConnect;
More information4. Specifications and Additional Information
4. Specifications and Additional Information AGX52004-1.0 8B/10B Code This section provides information about the data and control codes for Arria GX devices. Code Notation The 8B/10B data and control
More informationPROGRAMMING ARDUINO COURSE ON ADVANCED INTERACTION TECHNIQUES. Luís Carriço FCUL 2012/13
Sources: Arduino Hands-on Workshop, SITI, Universidad Lusófona Arduino Spooky projects Basic electronics, University Pennsylvania Beginning Arduino Programming Getting Started With Arduino COURSE ON ADVANCED
More informationHow to work with data sources and datasets
Chapter 14 How to work with data sources and datasets Objectives Applied Use a data source to get the data that an application requires. Use a DataGridView control to present the data that s retrieved
More informationAnexo C Código de programación Pág Resumen
Anexo C Código de programación Pág. 1 1. Resumen En este anexo se adjuntarán los códigos de programación de los diversos software que se han utilizado. Es decir, el código para la creación de la aplicación
More informationINVENTORY MANAGEMENT SYSTEM FOR TELE SOON PHONE SHOP
INVENTORY MANAGEMENT SYSTEM FOR TELE SOON PHONE SHOP MRS. UMASHANKAR JASUTHA Index Number 0605298 Client Telesoon phone shop Supervisor Mr. K.Venugobnan 2017 November University of Colombo School of Computing
More information