Readalltext
File.readAllText(filename)
Parameters
| filename | Path of file to read. |
Returns
All text contained within the file as a string.Description
Reads and returns all the text contained with the file at filename as a string.
Dual-Axis Compass
— Dual-axis I2C magnetic sensor for EZ-B robots enabling magnetic direction sensing; requires short 2-3 in wiring. Third-party hardware.
Try it →
File.readAllText(filename)
| filename | Path of file to read. |
Reads and returns all the text contained with the file at filename as a string.