📄 avr interface.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "AVR RS232 interface"
ClientHeight = 5760
ClientLeft = 45
ClientTop = 735
ClientWidth = 4830
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 384
ScaleMode = 3 'Pixel
ScaleWidth = 322
StartUpPosition = 2 'CenterScreen
Begin VB.Frame Frame3
Caption = " Com Port "
Height = 1815
Left = 240
TabIndex = 21
Top = 240
Width = 1215
Begin VB.OptionButton com4
Caption = "Com 4"
Enabled = 0 'False
Height = 195
Left = 240
TabIndex = 25
Top = 1440
Width = 855
End
Begin VB.OptionButton com3
Caption = "Com 3"
Enabled = 0 'False
Height = 195
Left = 240
TabIndex = 24
Top = 1080
Width = 855
End
Begin VB.OptionButton com2
Caption = "Com 2"
Height = 195
Left = 240
TabIndex = 23
Top = 720
Width = 855
End
Begin VB.OptionButton com1
Caption = "Com 1"
Height = 195
Left = 240
TabIndex = 22
Top = 360
Value = -1 'True
Width = 855
End
End
Begin VB.Timer Timer1
Left = 1800
Top = 4560
End
Begin VB.TextBox Text3
Height = 285
Left = 3000
TabIndex = 17
Top = 1560
Width = 855
End
Begin VB.TextBox Text2
Height = 285
Left = 3720
TabIndex = 8
Top = 3960
Width = 495
End
Begin VB.TextBox Text1
Height = 285
Left = 3720
TabIndex = 7
Top = 3600
Width = 495
End
Begin VB.Frame Frame4
Height = 615
Left = 240
TabIndex = 3
Top = 5040
Width = 4335
Begin VB.Label Label2
Caption = "(c) 2003 by Serasidis Vasilis Http://www.serasidis.gr"
Height = 255
Left = 120
TabIndex = 5
Top = 240
Width = 3975
End
End
Begin VB.CommandButton Command6
Caption = "Exit"
Height = 375
Left = 3360
TabIndex = 2
Top = 4560
Width = 855
End
Begin MSCommLib.MSComm MSComm1
Left = 600
Top = 4440
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = 0 'False
InBufferSize = 1
InputMode = 1
End
Begin VB.Frame Frame2
Caption = " Switches on interface "
Height = 1815
Left = 1800
TabIndex = 1
Top = 240
Width = 2775
Begin VB.Label Label6
Caption = "Binary :"
Height = 255
Left = 600
TabIndex = 18
Top = 1320
Width = 615
End
Begin VB.Shape Shape1
BackStyle = 1 'Opaque
BorderColor = &H00000000&
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 255
Left = 2160
Shape = 2 'Oval
Top = 720
Width = 255
End
Begin VB.Label Label1
Caption = " PD6 PD5 PD4 PD3 PD2"
Height = 255
Left = 120
TabIndex = 4
Top = 360
Width = 2415
End
Begin VB.Shape Shape5
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 255
Left = 240
Shape = 2 'Oval
Top = 720
Width = 255
End
Begin VB.Shape Shape4
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 255
Left = 720
Shape = 3 'Circle
Top = 720
Width = 255
End
Begin VB.Shape Shape3
BackColor = &H00000000&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 255
Left = 1200
Shape = 2 'Oval
Top = 720
Width = 255
End
Begin VB.Shape Shape2
BackStyle = 1 'Opaque
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 255
Left = 1680
Shape = 2 'Oval
Top = 720
Width = 255
End
End
Begin VB.Frame Frame1
Caption = " LEDs on interface "
Height = 2055
Left = 240
TabIndex = 0
Top = 2280
Width = 4335
Begin VB.CheckBox Check16
BackColor = &H0000FF00&
Caption = "PB7"
Height = 495
Left = 240
Style = 1 'Graphical
TabIndex = 16
Top = 600
Width = 495
End
Begin VB.CheckBox Check15
BackColor = &H0000FF00&
Caption = "PB6"
Height = 495
Left = 720
Style = 1 'Graphical
TabIndex = 15
Top = 600
Width = 495
End
Begin VB.CheckBox Check14
BackColor = &H0000FF00&
Caption = "PB5"
Height = 495
Left = 1200
Style = 1 'Graphical
TabIndex = 14
Top = 600
Width = 495
End
Begin VB.CheckBox Check13
BackColor = &H0000FF00&
Caption = "PB4"
Height = 495
Left = 1680
Style = 1 'Graphical
TabIndex = 13
Top = 600
Width = 495
End
Begin VB.CheckBox Check12
BackColor = &H0000FF00&
Caption = "PB3"
Height = 495
Left = 2160
Style = 1 'Graphical
TabIndex = 12
Top = 600
Width = 495
End
Begin VB.CheckBox Check11
BackColor = &H0000FF00&
Caption = "PB2"
Height = 495
Left = 2640
Style = 1 'Graphical
TabIndex = 11
Top = 600
Width = 495
End
Begin VB.CheckBox Check10
BackColor = &H0000FF00&
Caption = "PB1"
Height = 495
Left = 3120
Style = 1 'Graphical
TabIndex = 10
Top = 600
Width = 495
End
Begin VB.CheckBox Check9
BackColor = &H0000FF00&
Caption = "PB0"
ForeColor = &H00000000&
Height = 495
Left = 3600
Style = 1 'Graphical
TabIndex = 9
Top = 600
Width = 495
End
Begin VB.Label Label8
Caption = "Ascii :"
Height = 255
Left = 3000
TabIndex = 20
Top = 1680
Width = 495
End
Begin VB.Label Label7
Caption = "Decimal :"
Height = 255
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -