Learn R Programming

plotcli (version 0.2.0)

braille_dot_bit: Get Braille dot bit value

Description

Returns the bit value for a specific dot position in a Braille cell. Braille cells have a 2x4 dot matrix with the following bit values:

Usage

braille_dot_bit(dot_row, dot_col)

Value

The bit value for that dot position

Arguments

dot_row

Row within the Braille cell (0-3, top to bottom)

dot_col

Column within the Braille cell (0-1, left to right)

Details


       Col 0  Col 1
Row 0:  0x01   0x08
Row 1:  0x02   0x10
Row 2:  0x04   0x20
Row 3:  0x40   0x80