Experimental Instructional Design of Code Slicing and Data Verification by Artificial Interruption
- Guoguan WEN
- Mingliang ZHANG
- Qingping DOU
Abstract
Students run code directly without any modification when doing programming experiments. They do not care about the process and do not understand the results. It has always been the pain of the electronic information experiment teaching mentioned by. This article, combines the previous teaching experience, proposes an artificial serial port interruption in the code. The result data returned by the interrupt upload to computer or mobile phone, combined with the experimental principle to allow students to explore the relationship between input and output, so that students can fully participate in the modification of code parameters, and verify the intermediate results. Students connect to the WIFI hotspot configured in the experiment box through their mobile phones, and lunch the online commissioning APP serial port configuration interface to complete the basic serial port settings. The slave MCU needs to download the firmware code compiled in C language in advance. The code contains the serial port output function to calibrate the running position of the code and upload the specified operation results. This article briefly describes the hardware functional chart and the functional flowchart of the interrupt code; focusing on the interface design and interrupt implementation method of online commissioning APP, as well as the test environment setup and specific test results with serial port tools.
- Full Text: PDF
- DOI:10.5539/cis.v13n3p49
Journal Metrics
WJCI (2022): 0.636
Impact Factor 2022 (by WJCI): 0.419
h-index (January 2024): 43
i10-index (January 2024): 193
h5-index (January 2024): N/A
h5-median(January 2024): N/A
( The data was calculated based on Google Scholar Citations. Click Here to Learn More. )
Index
- Academic Journals Database
- BASE (Bielefeld Academic Search Engine)
- CiteFactor
- CNKI Scholar
- COPAC
- CrossRef
- DBLP (2008-2019)
- EBSCOhost
- EuroPub Database
- Excellence in Research for Australia (ERA)
- Genamics JournalSeek
- Google Scholar
- Harvard Library
- Infotrieve
- LOCKSS
- Mendeley
- PKP Open Archives Harvester
- Publons
- ResearchGate
- Scilit
- SHERPA/RoMEO
- Standard Periodical Directory
- The Index of Information Systems Journals
- The Keepers Registry
- UCR Library
- Universe Digital Library
- WJCI Report
- WorldCat
Contact
- Chris LeeEditorial Assistant
- cis@ccsenet.org