tester: add very basic mock structs for testing i2c devices, based on work done by @rogpeppe

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2020-08-26 16:44:47 +02:00
committed by Ron Evans
parent b1ae52d1b9
commit ce81b66fe2
6 changed files with 139 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
// Package tester contains mock structs to make it easier to test I2C devices.
//
// TODO: info on how to use this.
//
package tester // import "tinygo.org/x/drivers/tester"