From d51ccb1e688494c65461600c06e1c3b6c7983cfb Mon Sep 17 00:00:00 2001 From: devsaurus Date: Mon, 5 Oct 2015 19:36:34 +0200 Subject: [PATCH] add clock_div to examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5580c61c..e3d9a358 100644 --- a/README.md +++ b/README.md @@ -405,7 +405,7 @@ All other pins can be assigned to any available GPIO: Also refer to the initialization sequence eg in [u8g_graphics_test.lua](lua_examples/u8glib/u8g_graphics_test.lua): ```lua -spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, spi.DATABITS_8, 0) +spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, spi.DATABITS_8, 8) ``` @@ -488,7 +488,7 @@ All other pins can be assigned to any available GPIO: Also refer to the initialization sequence eg in [GraphicsTest.lua](lua_examples/ucglib/GraphicsRest.lua): ```lua -spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, spi.DATABITS_8, 0) +spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, spi.DATABITS_8, 8) ``` #####Library usage