From 72e5a9150569bfaf6fb59344d823091cff6c860c Mon Sep 17 00:00:00 2001 From: shrkey Date: Mon, 17 Oct 2016 19:57:34 +0100 Subject: [PATCH] change case --- 640cplusplus.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/640cplusplus.md b/640cplusplus.md index 5ad21e1..e124c2a 100644 --- a/640cplusplus.md +++ b/640cplusplus.md @@ -332,9 +332,9 @@ There are two stepping styles available - - **DW_SINGLE** - this is the simplest method of stepping which activates a single coil at a time to move and hold the motor. This method uses the least amount of power. - **DW_DOUBLE** - this is a slightly more complex method of stepping which uses to coils to move and hold the motor. This method uses twice as much power as the single step, but is more powerful. -``` python -st1->onestep(DW_FORWARD, DW_SINGLE); -st1->onestep(DW_REVERSE, DW_DOUBLE); +``` c +st1->oneStep(DW_FORWARD, DW_SINGLE); +st1->oneStep(DW_REVERSE, DW_DOUBLE); ``` ##### step( *steps*, *direction*, *style* )