0
  1. Trang chủ >
  2. Kỹ Thuật - Công Nghệ >
  3. Cơ khí - Chế tạo máy >

Tài liệu PIC Robotics P1 ppt

Tài liệu PIC Robotics P1 ppt

Tài liệu PIC Robotics P1 ppt

... If you don’t want to use CodeDesigner, program text files may be writtenusing any word processor as long as it is able to save its text file as ASCIIor DOS text. If you don’t own a commercial word processor, you can useWindows Notepad, which is included with Windows 3.X, 95, and 98. If youwork at the DOS level, you can use the Edit program to write text files.When you save the text file, save it with a .bassuffix. For example, if youwere saving a program named wink,save it as wink.bas.Step 2: Using the CompilerOnce set up, the CodeDesigner software will call and control the compiler andprogrammer software. The compiler may be run manually from a DOS win­dow. To run the compiler program manually, enter the command pbcfollowedby the number of the PIC chip being programmed (that is, 16F84), then fol­lowed by the name of the source code text file. For the PicBasic Pro compilerprogram, the command starts with pbpinstead of pbc,followed by the nameof the source code text file. For example, for the PicBasic compiler, if the sourcecode text file we created is named wink,then at the DOS command promptenterpbc  p16 f84 wink.basFor the PicBasic Pro compiler, the command line would bepbp  p16 f84 wink.basThe compiler reads the text file and compiles two additional files, an .asm(assembly language) and a .hex(hexadecimal) file.The wink.asmfile is the assembly language equivalent to the Basic pro­gram. The wink.hexfile is the machine code of the program written in hexa­decimal numbers. It is the .hexfile that is uploaded into the PIC chip.If the compiler encounters errors when compiling the PicBasic source code,it will issue a list of errors it has found and will terminate. The errors listedneed to be corrected in the source code (text file) before it will successfullycompile.Step 3: Installing the Firmware, or Programming thePIC ChipConnect the EPIC programming board to the computer’s printer port via aDB25 cable. If you are using CodeDesigner, launch the EPIC Programmerfrom the menu. The EPIC programming board must be connected to the par­allel port and switched on before you start the software, or else the softwarewill issue an error message “EPIC Programmer not found.” Aside from theEPIC Windows software (epicwin.exe), which may be started manually inWindows or through the CodeDesigner software, there is also a DOS versionof the program called epic.exe.Robot Intelligence  ... (I/O line logic) and events. The math and logic functions allow the microcon­troller to mimic sophisticated logic and electronic circuits. Copyright © 2004 The McGraw­Hill Companies. Click here for terms of use. 1 PIC Robotics vi Contents Setting CodeDesigner Options 25 First Program 31 The EPIC Programming Board Software ... 3Figure 1.1PicBasic Pro and PicBasic software packages and manuals.Figure 1.2EPIC Programmer software and hardware.             PIC Robotics A Beginner’s Guide to Robotics Projects Using the PICmicro John Iovine McGraw­Hill...
  • 30
  • 276
  • 0
Tài liệu PIC Robotics P1 pdf

Tài liệu PIC Robotics P1 pdf

... If you don’t want to use CodeDesigner, program text files may be writtenusing any word processor as long as it is able to save its text file as ASCIIor DOS text. If you don’t own a commercial word processor, you can useWindows Notepad, which is included with Windows 3.X, 95, and 98. If youwork at the DOS level, you can use the Edit program to write text files.When you save the text file, save it with a .bassuffix. For example, if youwere saving a program named wink,save it as wink.bas.Step 2: Using the CompilerOnce set up, the CodeDesigner software will call and control the compiler andprogrammer software. The compiler may be run manually from a DOS win­dow. To run the compiler program manually, enter the command pbcfollowedby the number of the PIC chip being programmed (that is, 16F84), then fol­lowed by the name of the source code text file. For the PicBasic Pro compilerprogram, the command starts with pbpinstead of pbc,followed by the nameof the source code text file. For example, for the PicBasic compiler, if the sourcecode text file we created is named wink,then at the DOS command promptenterpbc  p16 f84 wink.basFor the PicBasic Pro compiler, the command line would bepbp  p16 f84 wink.basThe compiler reads the text file and compiles two additional files, an .asm(assembly language) and a .hex(hexadecimal) file.The wink.asmfile is the assembly language equivalent to the Basic pro­gram. The wink.hexfile is the machine code of the program written in hexa­decimal numbers. It is the .hexfile that is uploaded into the PIC chip.If the compiler encounters errors when compiling the PicBasic source code,it will issue a list of errors it has found and will terminate. The errors listedneed to be corrected in the source code (text file) before it will successfullycompile.Step 3: Installing the Firmware, or Programming thePIC ChipConnect the EPIC programming board to the computer’s printer port via aDB25 cable. If you are using CodeDesigner, launch the EPIC Programmerfrom the menu. The EPIC programming board must be connected to the par­allel port and switched on before you start the software, or else the softwarewill issue an error message “EPIC Programmer not found.” Aside from theEPIC Windows software (epicwin.exe), which may be started manually inWindows or through the CodeDesigner software, there is also a DOS versionof the program called epic.exe.Robot Intelligence  ... PBC directory on the hard drive. Copyright © 2004 The McGraw­Hill Companies. Click here for terms of use. 11 PIC Robotics vi Contents Setting CodeDesigner Options 25 First Program 31 The EPIC Programming Board Software ... Supplemental—Applications Directory 22 Chapter 4. CodeDesigner 23 CodeDesigner Features 23 Software Installation 25 v PIC Robotics A Beginner’s Guide to Robotics Projects Using the PICmicro John Iovine McGraw­Hill...
  • 30
  • 327
  • 0
Tài liệu Photoshop CS P1 pptx

Tài liệu Photoshop CS P1 pptx

... Chọn nút File Browser trên thanh tuỳ biến công cụ và mở tài liệu trong thư mục Lesson01/Project3 2. Trong cửa sổ thumbnail, chọn tài liệu 01End3.psd để bạn nhìn thấy trước kết quả. Bạn hãy ... của nó, người ta có thể viết cả một chồng sách. Nếu có sách nhu thế thật thì đó là một nguồn tài liệu đáng giá để tham khảo, nhưng đó không phải là mục đích của cuốn sách này. Thay vào đó, bạn ... thiết lập mặc định. 2. Khi có 3 thông báo xuất hiện: • Nhấn Yes để khẳng định rằng bạn muốn xoá tài liệu Adobe Photoshop Settings. • Nhấn No để đóng thông báo lại. • Nhấn Close để đóng màn hình...
  • 38
  • 340
  • 1

Xem thêm

Từ khóa: Nghiên cứu sự biến đổi một số cytokin ở bệnh nhân xơ cứng bì hệ thốngBáo cáo quy trình mua hàng CT CP Công Nghệ NPVchuyên đề điện xoay chiều theo dạngNghiên cứu sự hình thành lớp bảo vệ và khả năng chống ăn mòn của thép bền thời tiết trong điều kiện khí hậu nhiệt đới việt namNghiên cứu tổ hợp chất chỉ điểm sinh học vWF, VCAM 1, MCP 1, d dimer trong chẩn đoán và tiên lượng nhồi máu não cấpNghiên cứu tổ chức chạy tàu hàng cố định theo thời gian trên đường sắt việt namNGHIÊN CỨU CÔNG NGHỆ KẾT NỐI VÔ TUYẾN CỰ LY XA, CÔNG SUẤT THẤP LPWAN SLIDEPhát hiện xâm nhập dựa trên thuật toán k meansSở hữu ruộng đất và kinh tế nông nghiệp châu ôn (lạng sơn) nửa đầu thế kỷ XIXTổ chức và hoạt động của Phòng Tư pháp từ thực tiễn tỉnh Phú Thọ (Luận văn thạc sĩ)Quản lý nợ xấu tại Agribank chi nhánh huyện Phù Yên, tỉnh Sơn La (Luận văn thạc sĩ)BT Tieng anh 6 UNIT 2Tăng trưởng tín dụng hộ sản xuất nông nghiệp tại Ngân hàng Nông nghiệp và Phát triển nông thôn Việt Nam chi nhánh tỉnh Bắc Giang (Luận văn thạc sĩ)Giáo án Sinh học 11 bài 15: Tiêu hóa ở động vậtGiáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtGiáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtGiáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtTrách nhiệm của người sử dụng lao động đối với lao động nữ theo pháp luật lao động Việt Nam từ thực tiễn các khu công nghiệp tại thành phố Hồ Chí Minh (Luận văn thạc sĩ)BÀI HOÀN CHỈNH TỔNG QUAN VỀ MẠNG XÃ HỘITÁI CHẾ NHỰA VÀ QUẢN LÝ CHẤT THẢI Ở HOA KỲ