analog_stim.stc
来自「可移植的MicroChip的PIC全系列单片机软件仿真器」· STC 代码 · 共 37 行
STC
37 行
# gpsim# Startup command file to test analog stimuli# Create the processor that's to be simulatedset verbose 3# Load the .hex fileload s p16c71_test.cod# Create a stimulus node:node analog_node# Create a triangle wave stimulus that's 1000 cycles long# and attach it to porta bit 0. The duty cycle is 30%# and the phase is 10%. echo stimulus createstimulus triperiod 1000high_time 300phase 100#port porta 0name t_waveendecho stimulus createdattach analog_node porta0 t_wave
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?