onSignal: On Signal Generate a square wave, from 1Hz to 31.25kHz, with...

Description Usage Arguments

View source: R/functions.R

Description

On Signal Generate a square wave, from 1Hz to 31.25kHz, with resolution of 16us

Usage

1
onSignal(freq, dutyCycle1, dutyCycle2)

Arguments

freq

the frequency of the wave, in Hz

dutyCycle1

the percentage of time that pin 9 should spend at HIGH

dutyCycle2

the percentage of time that pin 10 should spend at HIGH


pdhoff/Rduino documentation built on May 29, 2019, 7:36 a.m.