class Modem

Control the modem interface.

Constructor

class omc048.modem

Create an modem object

Methods

modem.power(state: bool)

Set the modem peripheral on or off. Turn off for low power consumption mode.

  • bool is 1 or 0, True or False, corresponding to on and off.

Example

The following example disables the modem interface

import omc048

m1 = omc048.modem()

m1.power(False)