Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

TB6612FNG Library

Here is a simple library for interfacing with the TB6612FNG Toshiba driver using two DC motors: http://www.ulozto.net/xr9PDyM/tb6612fng-7z.

Just download & decompress it into your Arduino libraries folder, than restart your Arduino IDE. Example included.