Python and Java on a PIC! I just need a little help...

Status
Not open for further replies.
You could try "register injection" listed under debugger/stimulus/New Workbook. You'll need a HEX file, etc to supply the "sine" wave. See the SIM help file for details.
 
You could try "register injection" listed under debugger/stimulus/New Workbook. You'll need a HEX file, etc to supply the "sine" wave. See the SIM help file for details.
I studied the help for hours, but I was not able to figure out how to get one pin high/low at 26 ms seconds interval for one second without writing one line per pulse!!
440 lines!!!
I can't understand how the REPEAT function works.
Once I set the pin HIGH after 26 ms and LOW after 52 ms (from beginning)... how do I repeat it 220 times in a second?
 
Just set it to repeat forever, by using the wrap or repeat option.
I thought you wanted to simulate an analog input anyway. For a digital "burst" of pulses for x number of cycles, use the "Clock Stimulus" tab instead.
 
Just set it to repeat forever, by using the wrap or repeat option.
I thought you wanted to simulate an analog input anyway. For a digital "burst" of pulses for x number of cycles, use the "Clock Stimulus" tab instead.
If you know how to simulate an analog input, any tip is welcome.

Anyway, it's not cleat at all how tu use the "repeat" function.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…