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

x/pita_api/mod.ts>Channel#setBitness

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

Set the bitness of the Channel.

Examples

Example 1

adc1.setBitness(8n)

Parameters

bitness: Bitness<16>
  • The "bitness" parameter is a value that represents the number of bits used in the ADC/DAC.