Current list of commands over PulseFire serial console.
root@pulsefire: help # The commands are;
help - Shows the command listing help map - Shows the variable mapping ids of the variables which can be mapped. The extra 1 indicates that the variable is a trigger variable. help max - Show the maximum value of all variables. help idx - Shows the maximum sized of (multi) indexed variables. help bits - Shows the decimal version of the bitfield flags of the variables.
info_conf [all] - Shows all savable config information info_data - Shows all runtime data information info_prog - Shows all interal program information info_freq - Shows all calculated information info_ppm - Shows all bit patterns of PPM mode. info_chip - Shows Chip and build info.
reset_conf - Reset the config values to defaults. (does not auto save!) reset_data - Reset the data variables to step0,etc. reset_chip - Reset the devices and so resets the program.
req_pulse_fire - Requests software pulse trigger req_pwm_freq <hz*100> [output] - Request freqency of train pulse this will change pwm_compa,pwm_compb,pwm_clock,etc Examples; req_pwm_freq 500 - Sets all outputs to 50hz with pwm_duty. req_pwm_freq 5000 2 - Sets output 2 to 500hz with pwm_duty req_auto_lpm - Requests automatic lpm messurement req_tx_push - Enable config update changes to be pushed to serial automaticly.(1=On,0=off(def)) req_tx_echo - Echo serial data(1=On(def),0=off) req_tx_promt - Echo promt after cmd (1=On(def),0=off)
pulse_enable - Enable output (1=On,default) pulse_mode - Pulse train mode, 0=off,1=flash,2=flash0,3=train(def),4=PPM,5=PPMA,6=PPMI pulse_steps - Number of outputs pulse_trig - Pulse train trigger, 0=Loop,1=Input1,2=Extern) pulse_dir - Pulse direction (0=LR,default,1=RL,2=LRRL(nightrider)) pulse_bank - Bank A or B selection pulse_inv - Ouput data inververt pulse_trig_delay - Pre delay for when using non loop pulse_trig!=0 pulse_post_delay - Delay for after pulse train(pulse-duty) pulse_mask_a - 16bitwise output mask to disable outputs(0=off,1=on so default is 65535) pulse_mask_b - 16bitwise output mask to disable outputs(0=off,1=on so default is 65535) pulse_init_a - Start data for ouput pulse train shifting (used in pulse_mode=3 only) pulse_init_b - Start data for ouput pulse train shifting (used in pulse_mode=3 only)
pwm_cnt_on_a - Step timer value of train pulse counter (16bit) pwm_cnt_on_b - Step timer value of train pulse counter (16bit) pwm_cnt_off_a - Step timer value of train duty pulse. pwm_cnt_off_b - Step timer value of train duty pulse. pwm_tune - 8 bit, wait loop counter for per output step shifting of a few MS. pwm_loop - 8 bit, loop counter of interrupts from clock of timer. pwm_loop_delta - Auto increase speed of pwm_loop nice max is 1/6 of pwm_loop pwm_clock - Clock prescaler for pwm timer, pwm_clock=7 is external clock source pwm_duty - Pwm duty used only via req_pwm_freq !!
ppm_data_offset - Seqence offset between next step max 15 ppm_data_len - Seqence data length max 15 (ppm_* is pulse_mode=3,4,5 data only) ppm_data_a - Custom seqence data 0-65535 per output ppm_data_b - Custom seqence data 0-65535 per output
lpm_start - Analog inputX start value of lpm messurement. (lpm_level is from Vcc to GND so lpm_start > lpm_stop) lpm_stop - Analog inputX stop value of lpm messurement lpm_size - lpm messurement volume size in ml between lpm_start and lpm_stop
ptc_0run - O=Off,1+ run times from startup, 255=loop ptc_1run - O=Off,1+ run times from startup, 255=loop ptc_0mul - Time multiplier 1=0.1sec 10=1sec 100=10sec ptc_1mul - Time multiplier 1=0.1sec 10=1sec 100=10sec ptc_0map - Set variable to value after wait. ptc_1map - Set variable to value after wait.
ptt_0map - Trigger0 map with timed actions ptt_1map - Trigger1 map with timed actions ptt_2map - Trigger2 map with timed actions ptt_3map - Trigger3 map with timed actions
stv_warn_secs - Minimal time in stv_warn_mode after trashhold passing. stv_warn_mode - Change to this mode on warning stv_error_secs - Minimal time in stv_error_mode after trashhold passing, 255=Stay forever stv_error_mode - Change to this mode if error value. stv_max_map - Max warning/error threshhold values for variable stv_min_map - Min warning/error threshhold values for variable
vfc_input_map - Virtual feedback input channels vfc_output_map - Virtual feedback output channels
swc_delay - Predelay in secords with outputs in off start swc_mode - Use this pulse mode while soft warmup swc_secs - Soft warmup in seconds swc_duty - Soft warmup begin duty (must bigger then pulse_duty and is calc with pwm_compa0 !!) swc_trig - Fire trigger after soft warmup..
avr_pin2_map - Switch the mapping of pin2 (0=OFF,1=TRIG_IN,etc,etc) avr_pin3_map - Switch the mapping of pin3 avr_pin4_map - Switch the mapping of pin4 avr_pin5_map - Switch the mapping of pin5, when switch from in/out then save and reset_chip before io changes. enum {PIN2_OFF,PIN2_TRIG_IN, PIN2_RELAY_OUT,PIN2_DIC2_IN,PIN2_DIC8_IN, PIN2_DOC2_OUT,PIN2_DOC8_OUT, PIN2_FREQ_IN,PIN2_FIRE_IN }; enum {PIN3_OFF,PIN3_MENU0_IN,PIN3_RELAY_OUT,PIN3_DIC3_IN,PIN3_DIC9_IN, PIN3_DOC3_OUT,PIN3_DOC9_OUT, PIN3_FREQ_IN,PIN3_FIRE_IN }; enum {PIN4_OFF,PIN4_MENU1_IN,PIN4_RELAY_OUT,PIN4_DIC4_IN,PIN4_DIC10_IN,PIN4_DOC4_OUT,PIN4_DOC10_OUT }; enum {PIN5_OFF,PIN5_CLOCK_IN,PIN5_RELAY_OUT,PIN5_DIC5_IN,PIN5_DIC11_IN,PIN5_DOC5_OUT,PIN5_DOC11_OUT };
avr_pin18_map - Switch the mapping of pin18. avr_pin19_map - Switch the mapping of pin19 avr_pin47_map - Switch the mapping of pin47 avr_pin48_map - Switch the mapping of pin48 avr_pin49_map - Switch the mapping of pin49 enum {PIN18_OFF,PIN18_TRIG_IN, PIN18_RELAY_OUT,PIN18_DIC4_IN,PIN18_DIC6_IN,PIN18_DOC4_OUT,PIN18_DOC6_OUT, PIN18_FREQ_IN,PIN18_FIRE_IN }; enum {PIN19_OFF,PIN19_TRIG_IN, PIN19_RELAY_OUT,PIN19_DIC5_IN,PIN19_DIC7_IN,PIN19_DOC5_OUT,PIN19_DOC7_OUT, PIN19_FREQ_IN,PIN19_FIRE_IN }; enum {PIN47_OFF,PIN47_CLOCK_IN,PIN47_RELAY_OUT }; enum {PIN48_OFF,PIN48_MENU0_IN,PIN48_RELAY_OUT,PIN48_DIC4_IN,PIN48_DIC6_IN,PIN48_DOC4_OUT,PIN48_DOC6_OUT }; enum {PIN49_OFF,PIN49_MENU1_IN,PIN49_RELAY_OUT,PIN49_DIC5_IN,PIN49_DIC7_IN,PIN49_DOC5_OUT,PIN49_DOC7_OUT };