Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pita_api/mod.ts>Channel#setFrequency

API for Pita projects, simpliest way to develop secure and powerful webapps for redpitaya.
Latest
method Channel.prototype.setFrequency
import { Channel } from "https://deno.land/x/pita_api@0.9.1/mod.ts";

Set the clock frequency of the Channel.

Examples

Example 1

adc1.setFrequency(Frequency.SMP_125M)

Parameters

frequency: Frequency
  • The frequency parameter is a value that represents the number conversions made by the ADC/DAC per seconds.