TAILIEUCHUNG - Hệ thống nhúng - Chương 2

“What happens when all the code in the main() function has been executed?” The device will reset, and the entire program will execute again and again. In fact, the compiler puts a special software reset instruction right after the end of the main() function code How to keep the system alive? | Hệ thống nhúng Thạc sĩ Lê Mạnh Hải Embedded Systems Lesson 2 : A loop in the pattern Flight plan: Embedded-control programs need a framework, similar to the pilots’ pattern, so that the flow of code can be managed. Loops syntax in C The 16-bit Timer1. Two new MPLAB® SIM “Animate” “Logic Analyzer.” Preflight checklist MPLAB IDE, Integrated Development Environment MPLAB SIM, software simulator MPLAB C30 compiler (Student Version) The flight Select “Project→Project Wizard”, to start creating a new project. Select the PIC24FJ128GA010 device, and click Next. Select the MPLAB C30 compiler suite and click Next. Create a new folder and name it “Loop.” name the project “A Loop in the Pattern,” and clickNext. There is no need to copy any source fi les from the previous lessons; click Next once more. Click Finish to complete the Wizard set-up. Open a new editor window. Type the main program header: // // A loop in the pattern // Select “Project→AddNewFiletoProject”, to save the fi .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.