This example use the Explorer 16 Development Board with the dsPIC 33FJ256GP710 or the PIC 24JF128GA010 microcontroller. The model file is in the blockset install directory : examples\dsPIC_33f_Explorer16.mdl
This model, with the dsPIC blockset, do :
Simulink Model for Explorer 16 Board equipped with 33FJ256GP710 or PIC 24FJ128GA010One led blinking at 1Hz (Port A0)
One led (Port A7) :
blinking at 2Hz when the left button is pushed (Port D6)
Switch on or off depending on the position of the potentiometer (Port AN5)
Low pass Filtering sample value from the potentiometer (at 1Hz and 10Hz)
Logging and Plotting with Matlab and in real time the raw and filtered samples from AN5 : Potentiometer