[Open_electroporator] Timers, PWM, low-level MCU setup

Nathan McCorkle nmz787 at gmail.com
Wed Mar 22 10:50:03 UTC 2017


On Wed, Mar 22, 2017 at 3:29 AM, Nathan McCorkle <nmz787 at gmail.com> wrote:
> I was just able to add to it this pulse-sequence code to my file, and
> call it from the REPL

updated the pulse-sequence code to have more delay, and a bit more
resolution along
with more steps through period/voltage levels

def n():
  for x in range(12):
    v=x*200
    a(3200-v, 150, 6) # period, width, number pulse-pairs
    pulse()
    pyb.delay(6000)

and here's the result (also attached):
http://imgur.com/a/9blbT

-- 
-Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3200_to_1000__150_width__6_pairs.gif
Type: image/gif
Size: 330347 bytes
Desc: not available
URL: <http://cibolo.us/pipermail/open_electroporator/attachments/20170322/4732a1d8/attachment-0001.gif>


More information about the open_electroporator mailing list