tailieunhanh - Thiết kế hệ thống nhứng -TS. Trương Quang Vinh-c5

8/9/2016ĐẠI HỌC QUỐC GIA CHÍ ĐẠI HỌC BÁCH ĐIỆN-ĐIỆN MÔN KỸ THUẬT ĐIỆN TỬEmbedded System . Software development for an . Software . C Programming for . Timer and interrupt11. Software diagram.• Software diagram is a diagram help software .developers and program managers to interpret .software application relationships, actions, and .processes– Software architecture diagram: describes the high level .structure of a software system.– Program flowchart: demonstrates how a program works .within a system.– Data flow diagram: illustrates the flow of information in a .process.– State machine diagram: presents decision flows of a state . môn Kỹ Thuật Điện Tử - ĐHBKChapter . Software diagram.• Draw a software diagram:.–.–.–.–.–Use a rectangle for a a rounded rectangle for a a diamond shape for a a parallelogram for a rectangle with two vertical lines for predefine môn Kỹ Thuật Điện Tử - ĐHBKdecisiondatapredefine process3Chapter 51. Software diagram.• Example for software architecture diagram .– Show the connections between hardware and software.– Show the connections with other systems.– Show the interface with usersExamplesBộ môn Kỹ Thuật Điện Tử - ĐHBKChapter . Software diagram.• Software block diagram ‐ flowchartBộ môn Kỹ Thuật Điện Tử - ĐHBKState machine diagramChapter 551. Software diagram.• Data flow diagram(DFD)Bộ môn Kỹ Thuật Điện Tử - ĐHBKChapter discussion .• Discus about below software diagram:.•Decision block must branches.•A process block must have and 1 .temperature OFF .heaterT>T_đặt?Turn ON heaterOven control môn Kỹ Thuật Điện Tử - ĐHBKChapter 57Team work .• Draw a software diagram for your class projectBộ môn Kỹ Thuật Điện Tử - ĐHBKChapter . C programming for PIC.• Reference.– Martin Bates, “Programming 8‐bit PIC Microcontrollers in .C”, Newnes, 2008 • Many C compilers for PIC:.–.–.–.–MikroC ().PICC18 ().MPLAB C18, C30 ().CCS C ()Bộ môn Kỹ Thuật Điện Tử - ĐHBKChapter PIC16 C Getting Started.● Simple program and test circuit.● Variables, looping, and decisions.● SIREN PIC16 C Program Basics.● Variables.● Looping.● PIC16 C Data Operations.● Variable types.● Floating point numbers.● Characters.● Assignment operatorsBộ môn Kỹ Thuật Điện Tử - PIC16 C Sequence Control.● While loops.● Break, continue, goto.● If, else, PIC16 C Functions and Structure.● Program structure.● Functions, arguments.● Global and local PIC16 C Input and Output.● RS232 serial data.● Serial LCD.● Calculator and PIC16 C More Data Types.● Arrays and strings.● Pointers and indirect addressing.● EnumerationChapter 5105.

crossorigin="anonymous">
Đã 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.