Table of Contents

1. Script used to run the adc12 example

1. Script used to run the adc12 example

	  
#! /bin/sh
   
PRG=${WSIM}/platforms/wsn430/wsim-wsn430
	    
ARG=" --mode=time --modearg=10s --verbose=4"
ARG="$ARG --logfile=wsim.log --trace=wsim.trc"
ARG="$ARG --msp430_adc12=1:data1.dat"
ARG="$ARG adc12.elf"
	    
${PRG} ${ARG}
wtracer --in=wsim.trc --out=wsim.vcd --format=vcd
	  
	

Figure IV.1. Script to run the simulation using ADC12 second input port with data.dat file