From 96b51a5ded447676d493be9721e4480065a5ae7e Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Fri, 11 Dec 2015 18:28:43 +0530 Subject: AVR ADC checked after some modifications --- includes/sci2clib.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'includes/sci2clib.h') diff --git a/includes/sci2clib.h b/includes/sci2clib.h index b9820bc..c1c82a3 100644 --- a/includes/sci2clib.h +++ b/includes/sci2clib.h @@ -330,7 +330,7 @@ #include "types.h" /*Scilab-arduino toolbox*/ -#ifdef ARDUINO +#ifdef Arduino1 #include "int_cmd_digital_out.h" #include "cmd_digital_out.h" #include "int_cmd_digital_in.h" @@ -344,12 +344,13 @@ #endif /*AVR*/ -#ifdef AVR +#ifdef AVR1 #include "int_AVRPeripheralGPIO.h" #include "AVRPeripheralGPIO.h" #include "int_AVRPeripheralADC.h" #include "AVRPeripheralADC.h" - +#include "int_AVRUtil.h" +#include "AVRUtil.h" #endif #endif /* !__SCI2CLIB_H__ */ -- cgit From 329613eb48542f24bb9014a0a617b05199726e99 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Thu, 17 Dec 2015 14:48:36 +0530 Subject: Code generation for Arduino changed. DC motor added to Arduino. --- includes/sci2clib.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'includes/sci2clib.h') diff --git a/includes/sci2clib.h b/includes/sci2clib.h index c1c82a3..3dc5820 100644 --- a/includes/sci2clib.h +++ b/includes/sci2clib.h @@ -339,6 +339,9 @@ #include "cmd_analog_out.h" #include "int_cmd_analog_in.h" #include "cmd_analog_in.h" +#include "int_cmd_dcmotor.h" +#include "cmd_dcmotor_run.h" +#include "cmd_dcmotor_setup.h" #include "int_sleep.h" #include "sleep.h" #endif @@ -349,6 +352,8 @@ #include "AVRPeripheralGPIO.h" #include "int_AVRPeripheralADC.h" #include "AVRPeripheralADC.h" +#include "int_AVRPeripheralPWM.h" +#include "AVRPeripheralPWM.h" #include "int_AVRUtil.h" #include "AVRUtil.h" #endif -- cgit