From 584eeab947ed6df92f0d86c3d4246302f171a38c Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Mon, 12 Oct 2015 10:44:15 +0200 Subject: [PATCH] Remove references to hardware module, change to machine. --- Hardware-API.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Hardware-API.md b/Hardware-API.md index 2a254f0..55a40e4 100644 --- a/Hardware-API.md +++ b/Hardware-API.md @@ -63,13 +63,13 @@ In the method specs below, *NOHEAP* means the function cannot allocate on the he - In case that the peripheral is not available (invalid id) ?? - Operations on non-initialized peripherals ?? -# New hardware module +# New machine module -The classes to control the peripherals of the board will reside in a new module called `hardware`, therefore, by doing: +The classes to control the peripherals of the board will reside in a new module called `machine`, therefore, by doing: ```python -import hardware -dir(hardware) +import machine +dir(machine) ``` one can easily see what's supported on the board.