]> vault307.fbx.one Git - micorpython_ir.git/blobdiff - README.md
Git confusion. Save receiver test.
[micorpython_ir.git] / README.md
index 1e1fa25b39e2374ea9718214a92945c219b009fc..3c78771b3cdb325a264ee73bce8d6d4b9c7fbba9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -147,6 +147,15 @@ Method:
  it will be called if an error occurs. The value corresponds to the error code
  (see below).
 
+A function is provided to print errors in human readable form. This may be
+invoked as follows:
+
+```python
+from ir_rx.print_error import print_error  # Optional print of error codes
+# Assume ir is an instance of an IR receiver class
+ir.error_function(print_error)
+```
+
 #### NEC classes
 
 `NEC_8`, `NEC_16`