PCA9685 Servo Driver icon PCA9685 Servo Driver Convert an EZB I2C bus into a 16-channel PCA9685 servo controller, exposing V0..V15 with hardware-timed PWM, external power and chainable boards. Try it →
 

Readrandomline

File.readRandomLine(filename)

Parameters

filename Path of file to read from.

Returns

A random line from the file as a string.

Description

Reads and returns a random line from the file, which starts from the end of one line and ends at the next endline character. This function does not affect the read position of the file.