示例#1
0
文件: delay.hpp 项目: hirakuni45/RL78
		//-----------------------------------------------------------------//
		static void milli_second(uint16_t ms) {
			while(ms > 0) {
				micro_second(1000);
				--ms;
			}
		}
示例#2
0
		//-----------------------------------------------------------------//
		static void milli_second(uint32_t ms) {
			for(uint32_t i = 0; i < ms; ++i) {
				micro_second(1000);
			}
		}