PreviousNext
setRFpower
Help > OS functions > RF > setRFpower

Function

 

Set RF output power

Purpose

 

Change RF range

Syntax

 

void setRFpower(uns8 level)

Parameters

 

level:

     TR-77G series:             0 (min.) to 6 (max.). Level 7 is not allowed. Default after reset is 6.

     Other TRs:                   0 (min.) to 7 (max.). Default after reset is 7.

See datasheet of TR module.

Return value

 

  –

Output values

 

Available read only in the RFpower register

Preconditions

 

  –

Remarks

 

  –

Side effects

 

  –

See also

 

RFTXpacket

Example

 

setRFpower(7);             // Max. RF output power