From 121b455e1e46617c670a8b9dfa77bbb1aa97a51a Mon Sep 17 00:00:00 2001 From: Jorawar Singh Date: Tue, 4 Jul 2017 15:14:46 +0530 Subject: Fixed standalone conversion errors with RPi files --- help/en_US/master_help.xml | 142 ++++----- help/en_US/scilab_en_US_help/AVRADCSetup.html | 10 +- help/en_US/scilab_en_US_help/AVRDigitalIn.html | 6 +- help/en_US/scilab_en_US_help/AVRDigitalOut.html | 6 +- .../scilab_en_US_help/AVRDigitalPortSetup.html | 6 +- help/en_US/scilab_en_US_help/AVRDigitalSetup.html | 6 +- help/en_US/scilab_en_US_help/AVRGetTimerValue.html | 6 +- help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html | 6 +- help/en_US/scilab_en_US_help/AVRPWM0Setup.html | 6 +- help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html | 6 +- help/en_US/scilab_en_US_help/AVRPWM1Setup.html | 6 +- help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html | 6 +- help/en_US/scilab_en_US_help/AVRPWM2Setup.html | 6 +- help/en_US/scilab_en_US_help/AVRReadADC.html | 6 +- help/en_US/scilab_en_US_help/AVRSleep.html | 6 +- help/en_US/scilab_en_US_help/AVRTimerSetup.html | 6 +- help/en_US/scilab_en_US_help/AVRUARTReceive.html | 6 +- help/en_US/scilab_en_US_help/AVRUARTSetup.html | 6 +- help/en_US/scilab_en_US_help/AVRUARTTransmit.html | 6 +- .../scilab_en_US_help/CV_AdaptiveThreshold.html | 6 +- help/en_US/scilab_en_US_help/CV_Blur.html | 6 +- help/en_US/scilab_en_US_help/CV_Canny.html | 6 +- help/en_US/scilab_en_US_help/CV_CornerHarris.html | 6 +- help/en_US/scilab_en_US_help/CV_CreateImage.html | 6 +- help/en_US/scilab_en_US_help/CV_CvtColor.html | 6 +- help/en_US/scilab_en_US_help/CV_Dilate.html | 6 +- .../scilab_en_US_help/CV_DistanceTransform.html | 6 +- help/en_US/scilab_en_US_help/CV_Erode.html | 6 +- help/en_US/scilab_en_US_help/CV_GaussianBlur.html | 6 +- help/en_US/scilab_en_US_help/CV_GetImgSize.html | 6 +- help/en_US/scilab_en_US_help/CV_LoadImage.html | 6 +- help/en_US/scilab_en_US_help/CV_MedianBlur.html | 6 +- help/en_US/scilab_en_US_help/CV_SaveImage.html | 6 +- help/en_US/scilab_en_US_help/CV_ShowImage.html | 6 +- help/en_US/scilab_en_US_help/CV_Threshold.html | 6 +- help/en_US/scilab_en_US_help/CV_WaitKey.html | 6 +- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 2855 -> 2921 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | 3 +- .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 120 -> 133 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 12082 -> 12644 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 10240 -> 10240 bytes help/en_US/scilab_en_US_help/ScilabCaution.png | Bin 603 -> 507 bytes help/en_US/scilab_en_US_help/ScilabEdit.png | Bin 574 -> 413 bytes help/en_US/scilab_en_US_help/ScilabExecute.png | Bin 660 -> 535 bytes help/en_US/scilab_en_US_help/ScilabImportant.png | Bin 717 -> 617 bytes help/en_US/scilab_en_US_help/ScilabNote.png | Bin 863 -> 663 bytes help/en_US/scilab_en_US_help/ScilabTip.png | Bin 863 -> 663 bytes help/en_US/scilab_en_US_help/ScilabWarning.png | Bin 603 -> 507 bytes help/en_US/scilab_en_US_help/index.html | 2 +- help/en_US/scilab_en_US_help/jhelpmap.jhm | 2 +- help/en_US/scilab_en_US_help/jhelptoc.xml | 2 +- .../section_4d177ceb9ae128b1850140a7901a140a.html | 259 +++++++++++++++++ includes/sci2clib.h | 12 +- jar/scilab_en_US_help.jar | Bin 86255 -> 87193 bytes macros/ASTManagement/lib | Bin 2136 -> 1896 bytes macros/CCodeGeneration/lib | Bin 1232 -> 992 bytes macros/ErrorMessages/lib | Bin 696 -> 456 bytes macros/FunctionAnnotation/lib | Bin 2564 -> 2324 bytes macros/FunctionList/lib | Bin 764 -> 524 bytes macros/GeneralFunctions/lib | Bin 1308 -> 1068 bytes macros/Hardware/AVR/lib | Bin 1148 -> 908 bytes macros/Hardware/RasberryPi/lib | Bin 1152 -> 912 bytes macros/ImageProcessing/core/lib | Bin 700 -> 460 bytes macros/ImageProcessing/highgui/lib | Bin 760 -> 520 bytes macros/ImageProcessing/imgproc/lib | Bin 928 -> 688 bytes macros/Scilab-Arduino/lib | Bin 892 -> 652 bytes macros/SymbolTable/lib | Bin 928 -> 688 bytes macros/ToolInitialization/lib | Bin 980 -> 740 bytes macros/findDeps/getAllHeaders.sci | 3 + macros/findDeps/getAllInterfaces.sci | 1 + macros/findDeps/getAllLibraries.sci | 1 + macros/findDeps/getAllSources.sci | 12 + macros/findDeps/lib | Bin 772 -> 532 bytes macros/lib | Bin 712 -> 472 bytes .../discrete_mathematics/gcd/u8gcda.c | 8 +- .../discrete_mathematics/lcm/u8lcma.c | 3 +- .../rasberrypi/Interrupt/u8RPI_waitForInterrupts.c | 33 ++- .../NotYetDone/INIT_FillSCI2LivCDirs.backup | 316 --------------------- .../rasberrypi/NotYetDone/NotToDo/RPI_adress.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c | 13 - .../NotYetDone/NotToDo/RPI_analogWrite.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_commande.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_send.c | 13 - .../NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c | 25 -- .../NotToDo/backup/gpio/RPI_DigitalRead.c | 24 -- .../NotToDo/backup/gpio/RPI_DigitalWrite.c | 26 -- .../NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c | 40 --- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c | 27 -- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c | 28 -- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c | 25 -- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c | 26 -- .../NotToDo/backup/serial/dRPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/dRPISerialSendDatas.c | 35 --- .../NotToDo/backup/serial/gRPISerialSendDatas.c | 27 -- .../NotToDo/backup/serial/i16RPISerialDataAvails.c | 25 -- .../NotToDo/backup/serial/i16RPISerialGetChars.c | 27 -- .../NotToDo/backup/serial/i16RPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/i16RPISerialSendDatas.c | 24 -- .../NotToDo/backup/serial/i8RPISerialSendDataa.c | 26 -- .../NotToDo/backup/serial/i8RPISerialSendDatas.c | 22 -- .../NotToDo/backup/serial/sRPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/sRPISerialSendDatas.c | 34 --- .../NotToDo/backup/serial/u16RPISerialSendDataa.c | 28 -- .../NotToDo/backup/serial/u16RPISerialSendDatas.c | 23 -- .../NotToDo/backup/serial/u16RPISerialSetups.c | 25 -- .../NotToDo/backup/serial/u8RPISerialCloses.c | 21 -- .../NotToDo/backup/serial/u8RPISerialFlushs.c | 21 -- .../NotToDo/backup/serial/u8RPISerialSendChars.c | 21 -- .../NotToDo/backup/serial/u8RPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/u8RPISerialSendDatas.c | 22 -- .../NotToDo/backup/threading/u16RPIThreadCreates.c | 24 -- .../NotYetDone/NotToDo/backup/timing/RPI_delay.c | 25 -- .../NotToDo/backup/timing/RPI_delayMicro.c | 22 -- .../NotYetDone/NotToDo/backup/timing/RPI_micros.c | 21 -- .../NotYetDone/NotToDo/backup/timing/RPI_millis.c | 21 -- .../hardware/rasberrypi/NotYetDone/NotToDo/raspi.c | 13 - .../rasberrypi/NotYetDone/NotToDo/raspi_close.c | 13 - .../rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c | 13 - .../rasberrypi/NotYetDone/SPI/RPI_SPISetup.c | 13 - .../lcd128x64/RPI_lcd128x64Orientation.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64circle.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64clear.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64line.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64point.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64putchar.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64puts.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64setup.c | 13 - .../NotYetDone/multiThreading/u8RPI_locks.c | 13 - .../NotYetDone/multiThreading/u8RPI_prioritys.c | 13 - .../NotYetDone/multiThreading/u8RPI_unlocks.c | 13 - .../rasberrypi/includes/RPIPeripheralDigital.h | 4 +- .../rasberrypi/includes/RPIPeripheralLCD128x64.h | 43 +++ .../interfaces/int_RPIPeripheralDigital.h | 4 + .../interfaces/int_RPIPeripheralInterrupt.h | 1 + .../rasberrypi/interfaces/int_RPIPeripheralLCD.h | 8 +- .../interfaces/int_RPIPeripheralLCD128x64.h | 58 ++++ .../rasberrypi/interfaces/int_RPIPeripheralSetup.h | 15 + .../interfaces/int_RPIPeripheralTiming.h | 2 + .../lcd128x64/RPI_lcd128x64Orientation.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64circle.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64clear.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64line.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64point.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64putchar.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64puts.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c | 17 ++ .../rasberrypi/lcd128x64/RPI_lcd128x64setup.c | 19 ++ src/c/signalProcessing/includes/dct.h | 2 +- src/c/signalProcessing/interfaces/int_dct.h | 4 +- src/c/signalProcessing/transforms/dct/cdcta.c | 8 +- src/c/signalProcessing/transforms/idct/cidcta.c | 2 +- src/c/string/ascii/gasciia.c | 4 +- src/c/string/strcspn/gstrcspna.c | 6 +- thirdparty/includes/WiringPi/RPI_wfi.h | 27 ++ thirdparty/includes/WiringPi/lcd128x64.h | 39 +++ thirdparty/lib/raspberrypi/libRPIwfi.a | Bin 0 -> 2132 bytes thirdparty/lib/raspberrypi/libwiringPi.so | Bin 58044 -> 0 bytes thirdparty/lib/raspberrypi/libwiringPiDev.so | Bin 28420 -> 0 bytes 167 files changed, 917 insertions(+), 1679 deletions(-) create mode 100644 help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/INIT_FillSCI2LivCDirs.backup delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_adress.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogWrite.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_commande.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_send.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalRead.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalWrite.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/gRPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialDataAvails.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialGetChars.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialSendDataa.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSendDataa.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c delete mode 100644 src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c create mode 100644 src/c/hardware/rasberrypi/includes/RPIPeripheralLCD128x64.h create mode 100644 src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c create mode 100644 src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c create mode 100644 thirdparty/includes/WiringPi/RPI_wfi.h create mode 100644 thirdparty/includes/WiringPi/lcd128x64.h create mode 100644 thirdparty/lib/raspberrypi/libRPIwfi.a delete mode 100644 thirdparty/lib/raspberrypi/libwiringPi.so delete mode 100644 thirdparty/lib/raspberrypi/libwiringPiDev.so diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 086d349..90e0f8d 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -1,41 +1,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]> Scilab 2 C Converter - + Scilab 2 C Converter -&a7b466cf4d5347f633e51a733f0f1a168; -&ade404b3b665f98bc73ebe7208886a6f4; -&aaca8c01a70b7156b2ae86463b562fa3c; -&aa9cd530e4bf4de01a70a8a8d76abc707; -&ae30f1c06a4abbee692b4423bb22fc7bc; -&af078d1c1044bbf067ba59f15b5a63027; -&a34111840b91dd5f14c2689fe5c258179; -&a6eb68eb74f8e78f731f8e674b4eb1390; -&a49dc2badf73873dc0ecee752026db407; -&a5f3175fef91ec1581f336de968bbec35; -&a0a1c83196d95bbe80de01a80cf377079; -&a10cde1c9b6859df41427903d04735550; -&a978be3c7b3c1f02e988d2a9b21e441e4; -&a64ec0ea5fc8d6722ee29d9897054c6c4; -&a41184b2b1ee091d3d9c6251f67fc6c6f; -&a3f015b4d6eb215e1689c9f38eda87aa8; -&a52617e3ef335f4d203adf04737be5251; -&ac5b79c05aaad679f350048aabcd868ae; -&a4b50d5bc321f61760721ae6ade129c9f; -&a105497ce787901446337c2e2060c1e5b; -&ad659714976caebf52f37401dd84c5fc5; -&a10c0891023433c3d4dab8fed5d0adb5b; -&a11f5875ed5a13a1992433bd0e8fbefcc; -&a2fbd4c528b0263f1c6aa21eba663d80a; -&a80a1d2ed052f44069c57a54d4b64acb3; -&a951dcde55ab990b63f2612dc497e1893; -&afca42ed96adf0d8cb8b6690858acce4d; -&a2ae1465eeae4dd56559ca82f8faf7b17; -&aa814e04831ba6aa08de1b4430ce8f403; -&a9fbf27ff967d711deb0a2f8cbdc7becf; -&a483f0c1580d357568095ab99a20233ec; -&a292b8a8f992d070ed6ee41a9f44795ad; -&a04f4ba8e54814e93925ee457717d2c95; -&aba215d2967214789de57c18aaf381a1f; -&a50c92e4a1158997805caf76751451ea0; +&a45ff9a6852959b1a533849baff9131c0; +&aa535870c28cdae60e20522da4d040edf; +&a7b357f4ea5dcfc83bd854d778bb430f8; +&a044f46a6067058c19f94381c893a126c; +&a46f0585f7f884cc85ee697b9a7b684e3; +&ae277689fbe556195d10f3cf7b91a6249; +&a589e1300bf17ec9092564c9c2778ea6d; +&a6e1e23a859268abaa4cda23edd48db26; +&af36bcc614f777ae47a7d36300c39c3ed; +&a174a3c3f824b709d128b677155856a30; +&a59a8f3dd0aea835bffcdd26d255b05a5; +&a65045ecd909e625cba31e7267b144b56; +&a40ac677c8b55c6bfa6cfcd7a81f046db; +&a59ebb3d123e41d3896ad640cdc07744e; +&ad45dd5fbbfeb5adb284d65f52110c5d7; +&adab54deec23a20dc384238025026cefc; +&a286165071c98d9849467ecf03c10299f; +&a1271cad4af17a89fbd333c70aa572959; +&a3587ac9ce679f7f9ebed4cd2b465eb45; +&a899c8caef8a80ad4ab494d9bc54b25fe; +&a8a81a8aa50590a5e4fe751cf4703a1ce; +&acef90ed956f606a535d7c56240044f01; +&a56e8bdeda6841211b177581fcfab6432; +&a4e046d2f0e51a5080d88c9643e8e0ddb; +&a4208f720d40e4c450619dedb5a3dfad8; +&a4a33c54f876a7394881deae0cf392901; +&ad1c438fb40230c7f1ae7d1b94c60eb18; +&a086e99d8570c59b8b45c2f95514fe7d1; +&aef6dd7d7c9b5939b3a3dac25e9656cad; +&a93407fa91b64871ca4ee864d189b4cf3; +&afd0fae2216ddb355bde20422a15f187e; +&a990f985e9ce47fd8a4195024bd72c52c; +&aaad233f1461f9874467c10aeb9000612; +&a7243090fad8f462f410bf471d164c068; +&ae0a9a04582b5eddcda2ef2bb2855cb81; diff --git a/help/en_US/scilab_en_US_help/AVRADCSetup.html b/help/en_US/scilab_en_US_help/AVRADCSetup.html index 5283364..19d393b 100644 --- a/help/en_US/scilab_en_US_help/AVRADCSetup.html +++ b/help/en_US/scilab_en_US_help/AVRADCSetup.html @@ -12,11 +12,11 @@
- << Scilab 2 C Converter + << Scilab 2 C Converter - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRADCSetup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRADCSetup

AVRADCSetup

@@ -70,11 +70,11 @@
Report an issue
- << Scilab 2 C Converter + << Scilab 2 C Converter - Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRDigitalIn.html b/help/en_US/scilab_en_US_help/AVRDigitalIn.html index d2dad6b..40592cc 100644 --- a/help/en_US/scilab_en_US_help/AVRDigitalIn.html +++ b/help/en_US/scilab_en_US_help/AVRDigitalIn.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalIn + Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalIn

AVRDigitalIn

@@ -74,7 +74,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRDigitalOut.html b/help/en_US/scilab_en_US_help/AVRDigitalOut.html index 7bf7845..ba1f71d 100644 --- a/help/en_US/scilab_en_US_help/AVRDigitalOut.html +++ b/help/en_US/scilab_en_US_help/AVRDigitalOut.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalOut + Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalOut

AVRDigitalOut

@@ -77,7 +77,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html b/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html index 2e51dd3..6ff374c 100644 --- a/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html +++ b/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalPortSetup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalPortSetup

AVRDigitalPortSetup

@@ -75,7 +75,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRDigitalSetup.html b/help/en_US/scilab_en_US_help/AVRDigitalSetup.html index 38e3088..64142d3 100644 --- a/help/en_US/scilab_en_US_help/AVRDigitalSetup.html +++ b/help/en_US/scilab_en_US_help/AVRDigitalSetup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalSetup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalSetup

AVRDigitalSetup

@@ -77,7 +77,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRGetTimerValue.html b/help/en_US/scilab_en_US_help/AVRGetTimerValue.html index 92ebc34..ae75314 100644 --- a/help/en_US/scilab_en_US_help/AVRGetTimerValue.html +++ b/help/en_US/scilab_en_US_help/AVRGetTimerValue.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRGetTimerValue + Scilab 2 C Converter >> Scilab 2 C Converter > AVRGetTimerValue

AVRGetTimerValue

@@ -69,7 +69,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html index 5973a08..d8a29b0 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html +++ b/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0SetDuty + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0SetDuty

AVRPWM0SetDuty

@@ -66,7 +66,7 @@ from 0V-5V.In this function by varying the duty cycle, varying voltage can be pr
- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html index 8ceda9e..4530666 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html +++ b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0Setup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0Setup

AVRPWM0Setup

@@ -84,7 +84,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html index f22ccad..4464989 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html +++ b/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1SetDuty + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1SetDuty

AVRPWM1SetDuty

@@ -69,7 +69,7 @@ AVRPWM1SetDuty(0,50,40000); //This function will produce PWM signal of 50% duty
- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRPWM1Setup.html b/help/en_US/scilab_en_US_help/AVRPWM1Setup.html index 0617a0e..dc8169a 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM1Setup.html +++ b/help/en_US/scilab_en_US_help/AVRPWM1Setup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1Setup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1Setup

AVRPWM1Setup

@@ -86,7 +86,7 @@ on compare match.Also as defined the output will be produced at
- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html index 15ccd20..be0c225 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html +++ b/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM2SetDuty + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM2SetDuty

AVRPWM2SetDuty

@@ -67,7 +67,7 @@ AVRPWM2SetDuty(0); //Produces 0V at OC2 pin

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRPWM2Setup.html b/help/en_US/scilab_en_US_help/AVRPWM2Setup.html index 4d30aeb..b6f116d 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM2Setup.html +++ b/help/en_US/scilab_en_US_help/AVRPWM2Setup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM2Setup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM2Setup

AVRPWM2Setup

@@ -83,7 +83,7 @@ compare match

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRReadADC.html b/help/en_US/scilab_en_US_help/AVRReadADC.html index c15b517..5d009c9 100644 --- a/help/en_US/scilab_en_US_help/AVRReadADC.html +++ b/help/en_US/scilab_en_US_help/AVRReadADC.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRReadADC + Scilab 2 C Converter >> Scilab 2 C Converter > AVRReadADC

AVRReadADC

@@ -70,7 +70,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRSleep.html b/help/en_US/scilab_en_US_help/AVRSleep.html index ce7f140..0937249 100644 --- a/help/en_US/scilab_en_US_help/AVRSleep.html +++ b/help/en_US/scilab_en_US_help/AVRSleep.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRSleep + Scilab 2 C Converter >> Scilab 2 C Converter > AVRSleep

AVRSleep

@@ -61,7 +61,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRTimerSetup.html b/help/en_US/scilab_en_US_help/AVRTimerSetup.html index 91b5c26..6c78ecc 100644 --- a/help/en_US/scilab_en_US_help/AVRTimerSetup.html +++ b/help/en_US/scilab_en_US_help/AVRTimerSetup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRTimerSetup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRTimerSetup

AVRTimerSetup

@@ -52,7 +52,7 @@
- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRUARTReceive.html b/help/en_US/scilab_en_US_help/AVRUARTReceive.html index 8d6358a..6c7347d 100644 --- a/help/en_US/scilab_en_US_help/AVRUARTReceive.html +++ b/help/en_US/scilab_en_US_help/AVRUARTReceive.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTReceive + Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTReceive

AVRUARTReceive

@@ -63,7 +63,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRUARTSetup.html b/help/en_US/scilab_en_US_help/AVRUARTSetup.html index 79f0aba..6b3c98a 100644 --- a/help/en_US/scilab_en_US_help/AVRUARTSetup.html +++ b/help/en_US/scilab_en_US_help/AVRUARTSetup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTSetup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTSetup

AVRUARTSetup

@@ -82,7 +82,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/AVRUARTTransmit.html b/help/en_US/scilab_en_US_help/AVRUARTTransmit.html index b519be2..02baa9a 100644 --- a/help/en_US/scilab_en_US_help/AVRUARTTransmit.html +++ b/help/en_US/scilab_en_US_help/AVRUARTTransmit.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTTransmit + Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTTransmit

AVRUARTTransmit

@@ -63,7 +63,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html b/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html index 30e236b..c2273ae 100644 --- a/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html +++ b/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_AdaptiveThreshold + Scilab 2 C Converter >> Scilab 2 C Converter > CV_AdaptiveThreshold

CV_AdaptiveThreshold

@@ -80,7 +80,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_Blur.html b/help/en_US/scilab_en_US_help/CV_Blur.html index a76b723..78ced0c 100644 --- a/help/en_US/scilab_en_US_help/CV_Blur.html +++ b/help/en_US/scilab_en_US_help/CV_Blur.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Blur + Scilab 2 C Converter >> Scilab 2 C Converter > CV_Blur

CV_Blur

@@ -82,7 +82,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_Canny.html b/help/en_US/scilab_en_US_help/CV_Canny.html index 32d9e24..2efbc71 100644 --- a/help/en_US/scilab_en_US_help/CV_Canny.html +++ b/help/en_US/scilab_en_US_help/CV_Canny.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Canny + Scilab 2 C Converter >> Scilab 2 C Converter > CV_Canny

CV_Canny

@@ -81,7 +81,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_CornerHarris.html b/help/en_US/scilab_en_US_help/CV_CornerHarris.html index da8acd6..72cd417 100644 --- a/help/en_US/scilab_en_US_help/CV_CornerHarris.html +++ b/help/en_US/scilab_en_US_help/CV_CornerHarris.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_CornerHarris + Scilab 2 C Converter >> Scilab 2 C Converter > CV_CornerHarris

CV_CornerHarris

@@ -84,7 +84,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_CreateImage.html b/help/en_US/scilab_en_US_help/CV_CreateImage.html index 22a5ff4..0c28a03 100644 --- a/help/en_US/scilab_en_US_help/CV_CreateImage.html +++ b/help/en_US/scilab_en_US_help/CV_CreateImage.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_CreateImage + Scilab 2 C Converter >> Scilab 2 C Converter > CV_CreateImage

CV_CreateImage

@@ -71,7 +71,7 @@
- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_CvtColor.html b/help/en_US/scilab_en_US_help/CV_CvtColor.html index f525b7c..ce03acf 100644 --- a/help/en_US/scilab_en_US_help/CV_CvtColor.html +++ b/help/en_US/scilab_en_US_help/CV_CvtColor.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_CvtColor + Scilab 2 C Converter >> Scilab 2 C Converter > CV_CvtColor

CV_CvtColor

@@ -76,7 +76,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_Dilate.html b/help/en_US/scilab_en_US_help/CV_Dilate.html index 7f4a0e2..a495676 100644 --- a/help/en_US/scilab_en_US_help/CV_Dilate.html +++ b/help/en_US/scilab_en_US_help/CV_Dilate.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Dilate + Scilab 2 C Converter >> Scilab 2 C Converter > CV_Dilate

CV_Dilate

@@ -85,7 +85,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_DistanceTransform.html b/help/en_US/scilab_en_US_help/CV_DistanceTransform.html index e08f4fc..fd2d7d7 100644 --- a/help/en_US/scilab_en_US_help/CV_DistanceTransform.html +++ b/help/en_US/scilab_en_US_help/CV_DistanceTransform.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_DistanceTransform + Scilab 2 C Converter >> Scilab 2 C Converter > CV_DistanceTransform

CV_DistanceTransform

@@ -73,7 +73,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_Erode.html b/help/en_US/scilab_en_US_help/CV_Erode.html index a2824c2..fe86370 100644 --- a/help/en_US/scilab_en_US_help/CV_Erode.html +++ b/help/en_US/scilab_en_US_help/CV_Erode.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Erode + Scilab 2 C Converter >> Scilab 2 C Converter > CV_Erode

CV_Erode

@@ -85,7 +85,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_GaussianBlur.html b/help/en_US/scilab_en_US_help/CV_GaussianBlur.html index 6068323..e6ed4e6 100644 --- a/help/en_US/scilab_en_US_help/CV_GaussianBlur.html +++ b/help/en_US/scilab_en_US_help/CV_GaussianBlur.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_GaussianBlur + Scilab 2 C Converter >> Scilab 2 C Converter > CV_GaussianBlur

CV_GaussianBlur

@@ -84,7 +84,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_GetImgSize.html b/help/en_US/scilab_en_US_help/CV_GetImgSize.html index c61efce..21ec770 100644 --- a/help/en_US/scilab_en_US_help/CV_GetImgSize.html +++ b/help/en_US/scilab_en_US_help/CV_GetImgSize.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_GetImgSize + Scilab 2 C Converter >> Scilab 2 C Converter > CV_GetImgSize

CV_GetImgSize

@@ -70,7 +70,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_LoadImage.html b/help/en_US/scilab_en_US_help/CV_LoadImage.html index b70dfc2..f18261a 100644 --- a/help/en_US/scilab_en_US_help/CV_LoadImage.html +++ b/help/en_US/scilab_en_US_help/CV_LoadImage.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_LoadImage + Scilab 2 C Converter >> Scilab 2 C Converter > CV_LoadImage

CV_LoadImage

@@ -74,7 +74,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_MedianBlur.html b/help/en_US/scilab_en_US_help/CV_MedianBlur.html index 597b52d..7821e2a 100644 --- a/help/en_US/scilab_en_US_help/CV_MedianBlur.html +++ b/help/en_US/scilab_en_US_help/CV_MedianBlur.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_MedianBlur + Scilab 2 C Converter >> Scilab 2 C Converter > CV_MedianBlur

CV_MedianBlur

@@ -72,7 +72,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_SaveImage.html b/help/en_US/scilab_en_US_help/CV_SaveImage.html index 4927445..94da92e 100644 --- a/help/en_US/scilab_en_US_help/CV_SaveImage.html +++ b/help/en_US/scilab_en_US_help/CV_SaveImage.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_SaveImage + Scilab 2 C Converter >> Scilab 2 C Converter > CV_SaveImage

CV_SaveImage

@@ -72,7 +72,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_ShowImage.html b/help/en_US/scilab_en_US_help/CV_ShowImage.html index 72347d1..fe6c088 100644 --- a/help/en_US/scilab_en_US_help/CV_ShowImage.html +++ b/help/en_US/scilab_en_US_help/CV_ShowImage.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_ShowImage + Scilab 2 C Converter >> Scilab 2 C Converter > CV_ShowImage

CV_ShowImage

@@ -72,7 +72,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_Threshold.html b/help/en_US/scilab_en_US_help/CV_Threshold.html index c74eb0c..90f6f96 100644 --- a/help/en_US/scilab_en_US_help/CV_Threshold.html +++ b/help/en_US/scilab_en_US_help/CV_Threshold.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Threshold + Scilab 2 C Converter >> Scilab 2 C Converter > CV_Threshold

CV_Threshold

@@ -76,7 +76,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/CV_WaitKey.html b/help/en_US/scilab_en_US_help/CV_WaitKey.html index 5e82971..d81650a 100644 --- a/help/en_US/scilab_en_US_help/CV_WaitKey.html +++ b/help/en_US/scilab_en_US_help/CV_WaitKey.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -28,7 +28,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > CV_WaitKey + Scilab 2 C Converter >> Scilab 2 C Converter > CV_WaitKey

CV_WaitKey

@@ -70,7 +70,7 @@ for providing support for generating C code for OpenCV

- Scilab 2 C Converter + Scilab 2 C Converter diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 3b891a0..7aa98ed 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 3c84a71..ec5d02f 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB @@ -1,2 +1 @@ -eÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÝÿÿÿÿÿÿÿÿý×ÿÿÿÿÿÿÿ÷_ÿÿÿÿÿÿ÷_ÿuÿ}ÿÿÿý×ÿÿÿÿÿuÿÿÿÿÿÿuÿÿÿÿý×ýÕõÿÿÿ÷_ýÕ×ÿÿ÷_ÿÿuÿÿÿÿÿÿÿÿý×ÿÿÿÿÿÿÿÿÿ÷_ÿÿÿÿÿÿÿÿÝÿÿÿÿ÷_ÿÿÿuÿÿÝÿÿÿÿÿÿÿý×ÿÿu÷_ÿÿÿ÷_uÿÿÿ÷_ý×ÿÝÿuÿÿ@¥ÆâÍ,dU†üâüÒüÒ³¥Íuب`Hér画|»>¡a¤©Òÿ,Ê,䪢̪ªºªeʪŒ/¨âªŽ*¸å(å(Òªªº7*¨ÒÍe8¿ÿ9rÿÿÏRó2óËÿÎ/ñ‘rÎг ÿÎ/:]¿6è³ 6¦F_ÿÿÿÆ—Ëÿÿ0¿ÿó2ÿÿó 4¿ÿÿÿÿüÖ/ÍËÿÍ/=Kÿÿ9}”¿üȳ ÿüÂÿÿó—/ÿüå/9KÿÿÿÿüåË2/ÿÿ9Kÿ4¿ÿ4¿ÿÍËÿý€ \ No newline at end of file +eÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿuÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿuÿÿÿÿÿuÿÿÿÿÿý×ÿÿ4Ÿ÷_ÿÿÿÿÿÿÿý×ÿÿÿÿÿüÂÿÿÿÿÿÿÿý×ÿÿÿÿÿÿ÷_ÿÝÿÿuÿÿÿÿÝÿÿÿÿÿÿÝÿý×ÿÿý×ÿý×ÿuÿÝý×Ý}×ÿ÷_ÿÿÿuÿÿÿÿýóŸÿýÔÒý×Ý@¨XrÇ ªñuVév¸`T`Z2 Z†…©Zµe~Q‘iq‘Qj]åÙXh^]ªV”`TpXdÂ!Q¥iZ•—l`^WV¡¡V•”l]^\r¡Q(ΘrpQ–®‡!Jªd¯u¿ÿÿÿªªŠ0–0qÊ¡FQ‘J™\`WËó ÄrÍ*/ú£K8««£ £¢®ª¨Ï+¬ÂúŒ*ºªº0³ £ª0£*‹ªª¨Øªªªªª¨âªª9,£*ªª®ªŠººª2ªª˜ª«ªªª»ªªªÿ0ªª¯óKÿÿ2/ÿÿÿÿÿÿÿÿÿÿüÂÿÿüÂÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ` \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 5675c21..db02be4 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 8fef32c..89dfc42 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 069c99b..03cfc0b 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=729 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=730 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 3e33f3e..f19ac94 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/ScilabCaution.png b/help/en_US/scilab_en_US_help/ScilabCaution.png index a9e4ff3..231159a 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabCaution.png and b/help/en_US/scilab_en_US_help/ScilabCaution.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabEdit.png b/help/en_US/scilab_en_US_help/ScilabEdit.png index 188e1c1..ff0cca7 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabEdit.png and b/help/en_US/scilab_en_US_help/ScilabEdit.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabExecute.png b/help/en_US/scilab_en_US_help/ScilabExecute.png index a7de0fe..4acd4b9 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabExecute.png and b/help/en_US/scilab_en_US_help/ScilabExecute.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabImportant.png b/help/en_US/scilab_en_US_help/ScilabImportant.png index 81e9ed2..73931b2 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabImportant.png and b/help/en_US/scilab_en_US_help/ScilabImportant.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabNote.png b/help/en_US/scilab_en_US_help/ScilabNote.png index 8851b99..6607ece 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabNote.png and b/help/en_US/scilab_en_US_help/ScilabNote.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabTip.png b/help/en_US/scilab_en_US_help/ScilabTip.png index 8851b99..6607ece 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabTip.png and b/help/en_US/scilab_en_US_help/ScilabTip.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabWarning.png b/help/en_US/scilab_en_US_help/ScilabWarning.png index a9e4ff3..231159a 100644 Binary files a/help/en_US/scilab_en_US_help/ScilabWarning.png and b/help/en_US/scilab_en_US_help/ScilabWarning.png differ diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html index 977ca18..83e3712 100644 --- a/help/en_US/scilab_en_US_help/index.html +++ b/help/en_US/scilab_en_US_help/index.html @@ -31,7 +31,7 @@

Scilab 2 C Converter

    -
  • Scilab 2 C Converter +
  • Scilab 2 C Converter
    • AVRADCSetupFunction to initialise ADC of AVR
    • diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index d042239..a2225c6 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -2,7 +2,7 @@ - + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 103425f..7c20d44 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -2,7 +2,7 @@ - + diff --git a/help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html b/help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html new file mode 100644 index 0000000..647ce7c --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html @@ -0,0 +1,259 @@ + + + + + + +
      + + + + +
      + + + Scilab 2 C Converter + + + +
      +
      +
      + + + + Scilab 2 C Converter >> Scilab 2 C Converter + +

      +

      Scilab 2 C Converter

      +
      • AVRADCSetupFunction to initialise ADC of AVR
      • + + + + + +
      • AVRDigitalInFunction to get state (high\low) of a digital input pin on AVR
      • + + + + + +
      • AVRDigitalOutFunction to change state (high\low) of a digital output pin on AVR
      • + + + + + +
      • AVRDigitalPortSetupFunction to decide direction of port on AVR
      • + + + + + +
      • AVRDigitalSetupFunction to decide direction of a digital pin on AVR
      • + + + + + +
      • AVRGetTimerValueFunction to get timer count
      • + + + + + +
      • AVRPWM0SetDutyFunction to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
      • + + + + + +
      • AVRPWM0SetupFunction to Setup OC0 pin for required PWM mode
      • + + + + + +
      • AVRPWM1SetDutyFunction to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
      • + + + + + +
      • AVRPWM1SetupFunction to Setup OC1A or OC1B pin for required PWM mode
      • + + + + + +
      • AVRPWM2SetDutyFunction to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
      • + + + + + +
      • AVRPWM2SetupFunction to Setup OC2 pin for required PWM mode
      • + + + + + +
      • AVRReadADCFunction to get voltage on analog pin on AVR
      • + + + + + +
      • AVRSleepFunction to pause the execution for the given time.
      • + + + + + +
      • AVRTimerSetupFunction to setup Timers in ATmega16
      • + + + + + +
      • AVRUARTReceiveFunction to Receive Char value send to ATmega16 using UART or USART.
      • + + + + + +
      • AVRUARTSetupFunction to Setup Serial Communication i.e UART or USART in ATmega16.
      • + + + + + +
      • AVRUARTTransmitFunction to Transmit data using UART or USART.
      • + + + + + +
      • CV_AdaptiveThresholdfunction to adaptively threshold input image
      • + + + + + +
      • CV_Blurfunction to blur image using normalised box filter
      • + + + + + +
      • CV_CannyFinds edges in image using Canny algorithm
      • + + + + + +
      • CV_CornerHarrisFinds edges in image using Harris algorithm
      • + + + + + +
      • CV_CreateImagefunction to create an image object of given size and type
      • + + + + + +
      • CV_CvtColorfunction to convert image from one colorspace to other colorspace
      • + + + + + +
      • CV_Dilatedilates an image by using a specific structuring element.
      • + + + + + +
      • CV_DistanceTransformfunction to calculate distance to closest zero pixels for each pixel
      • + + + + + +
      • CV_ErodeErodes an image by using a specific structuring element.
      • + + + + + +
      • CV_GaussianBlurfunction to blur image using gaussian filter
      • + + + + + +
      • CV_GetImgSizefunction to get size of the image (width*height)
      • + + + + + +
      • CV_LoadImagefunction to load an image object from given filename
      • + + + + + +
      • CV_MedianBlurfunction to blur image using median filter
      • + + + + + +
      • CV_SaveImagefunction to save an image object as a given filename
      • + + + + + +
      • CV_ShowImagefunction to show an image
      • + + + + + +
      • CV_Thresholdfunction to threshold input image
      • + + + + + +
      • CV_WaitKeyfunction similar to cvWaitKey
      +
      + +
      + + + + + + +
      Report an issue
      + + + Scilab 2 C Converter + + + +
      +
      +
      + + diff --git a/includes/sci2clib.h b/includes/sci2clib.h index 5f02311..aa940cb 100644 --- a/includes/sci2clib.h +++ b/includes/sci2clib.h @@ -446,12 +446,12 @@ extern "C" { #include "modk.h" #include "int_modk.h" /* interfacing idct */ -#include "idct.h" -#include "int_idct.h" +//#include "idct.h" +//#include "int_idct.h" /* interfacing dct */ -#include "dct.h" -#include "int_dct.h" +//#include "dct.h" +//#include "int_dct.h" /* interfacing convol */ #include "conv.h" @@ -709,7 +709,7 @@ extern "C" { #endif /*RPi*/ -//#ifdef RPi1 +#ifdef RPi1 #include "wiringPi.h" #include "RPIPeripheralDigital.h" #include "int_RPIPeripheralDigital.h" @@ -743,7 +743,7 @@ extern "C" { #include "int_RPIPeripheralSoft.h" #include "RPIPeripheralTiming.h" #include "int_RPIPeripheralTiming.h" -//#endif +#endif #ifdef __cplusplus } diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 23fc9e4..c57b4cb 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib index 4e309a2..51b54f6 100644 Binary files a/macros/ASTManagement/lib and b/macros/ASTManagement/lib differ diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib index 96294d0..4ee8cb6 100644 Binary files a/macros/CCodeGeneration/lib and b/macros/CCodeGeneration/lib differ diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib index 2b3ee2f..2994abc 100644 Binary files a/macros/ErrorMessages/lib and b/macros/ErrorMessages/lib differ diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib index 0def85b..8612b37 100644 Binary files a/macros/FunctionAnnotation/lib and b/macros/FunctionAnnotation/lib differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 32c92be..8f8320c 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib index a3af87e..7fe75a2 100644 Binary files a/macros/GeneralFunctions/lib and b/macros/GeneralFunctions/lib differ diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib index 170d321..a3d9e10 100644 Binary files a/macros/Hardware/AVR/lib and b/macros/Hardware/AVR/lib differ diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib index d25d944..ac87d04 100644 Binary files a/macros/Hardware/RasberryPi/lib and b/macros/Hardware/RasberryPi/lib differ diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib index 8d5e5c7..efaf518 100644 Binary files a/macros/ImageProcessing/core/lib and b/macros/ImageProcessing/core/lib differ diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib index 2db0482..722a150 100644 Binary files a/macros/ImageProcessing/highgui/lib and b/macros/ImageProcessing/highgui/lib differ diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib index 656e3bb..1f0925a 100644 Binary files a/macros/ImageProcessing/imgproc/lib and b/macros/ImageProcessing/imgproc/lib differ diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib index 60340e2..64a3fce 100644 Binary files a/macros/Scilab-Arduino/lib and b/macros/Scilab-Arduino/lib differ diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib index 165b707..2c57d67 100644 Binary files a/macros/SymbolTable/lib and b/macros/SymbolTable/lib differ diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib index 6240d3d..28f1583 100644 Binary files a/macros/ToolInitialization/lib and b/macros/ToolInitialization/lib differ diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci index 762c9a3..3e7b4d8 100644 --- a/macros/findDeps/getAllHeaders.sci +++ b/macros/findDeps/getAllHeaders.sci @@ -261,6 +261,7 @@ function allHeaders = getAllHeaders(SharedInfo) "thirdparty/includes/WiringPi/wiringSerial.h" "thirdparty/includes/WiringPi/gertboard.h" "thirdparty/includes/WiringPi/lcd.h" + "thirdparty/includes/WiringPi/lcd128x64.h" "thirdparty/includes/WiringPi/mcp23s08.h" "thirdparty/includes/WiringPi/mcp23s17.h" "thirdparty/includes/WiringPi/mcp23008.h" @@ -275,11 +276,13 @@ function allHeaders = getAllHeaders(SharedInfo) "thirdparty/includes/WiringPi/softTone.h" "thirdparty/includes/WiringPi/wiringPiI2C.h" "thirdparty/includes/WiringPi/wiringShift.h" + "thirdparty/includes/WiringPi/RPI_wfi.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralGertboard.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralI2C.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralInterrupt.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralLCD.h" + "src/c/hardware/rasberrypi/includes/RPIPeripheralLCD128x64.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralMcp.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralMisc.h" "src/c/hardware/rasberrypi/includes/RPIPeripheralPcf.h" diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index ecc102f..b61aea2 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -254,6 +254,7 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralI2C.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralInterrupt.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h" + "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMisc.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPcf.h" diff --git a/macros/findDeps/getAllLibraries.sci b/macros/findDeps/getAllLibraries.sci index c0f07d5..9d74bbf 100644 --- a/macros/findDeps/getAllLibraries.sci +++ b/macros/findDeps/getAllLibraries.sci @@ -24,6 +24,7 @@ function allLibraries = getAllLibraries(SharedInfo) Target = SharedInfo.Target; //Library files required for "RasberryPi" target RPi_libs = [ + "thirdparty/lib/raspberrypi/libRPIwfi.a" "thirdparty/lib/raspberrypi/libwiringPi.a" "thirdparty/lib/raspberrypi/libwiringPiDev.a" "thirdparty/lib/raspberrypi/libcblas.a" diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index 8b513ea..08aa8a5 100644 --- a/macros/findDeps/getAllSources.sci +++ b/macros/findDeps/getAllSources.sci @@ -1353,6 +1353,18 @@ function allSources = getAllSources(SharedInfo) "/src/c/hardware/rasberrypi/lcd/u8RPI_lcdPutchars.c" "/src/c/hardware/rasberrypi/lcd/u8RPI_lcdPutss.c" "/src/c/hardware/rasberrypi/lcd/u8RPI_lcdSendCommands.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c" + "/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c" "/src/c/hardware/rasberrypi/mcp/u16RPI_mcp23s08Setups.c" "/src/c/hardware/rasberrypi/mcp/u16RPI_mcp23s17Setups.c" "/src/c/hardware/rasberrypi/mcp/u16RPI_mcp23008Setups.c" diff --git a/macros/findDeps/lib b/macros/findDeps/lib index c1deaa6..5734a8a 100644 Binary files a/macros/findDeps/lib and b/macros/findDeps/lib differ diff --git a/macros/lib b/macros/lib index 1b718c7..3c96eeb 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcda.c b/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcda.c index 3d58623..121d26a 100644 --- a/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcda.c +++ b/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcda.c @@ -31,7 +31,8 @@ uint8 u8gcdua(uint8* in,int size) int x=*in; int y=*(in+1); int max=(x>y)?x:y; - for(int i=max;i>=1;i--) + int i; + for(i=max;i>=1;i--) { if(x%i==0 && y%i==0) { @@ -39,12 +40,13 @@ uint8 u8gcdua(uint8* in,int size) break; } } - for(int j=2;jy)?x:y; - for(int i=max;i>=1;i--) + for(i=max;i>=1;i--) { if(x%i==0 && y%i==0) { diff --git a/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c b/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c index 56856e4..b01c804 100644 --- a/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c +++ b/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c @@ -44,7 +44,8 @@ uint8 u8lcma(uint8* in,int size) else i+=max; } - for(int j=2;j +#include +#include int8 u8RPI_waitForInterrupts(uint8 pin,int16 time){ - int8 out; - out=waitForInterrupt(pin,time); - return (out); + __RPI_wfi=0; + if (wiringPiISR(pin,3,&RPI_wfi)<0){ + return -1; + } + if (time==-1){ + while (__RPI_wfi==0){;} + return 1; + } + else{ + struct timeval time1,time2; + int nDigits; + double t1,t2; + gettimeofday(&time1, NULL); + nDigits=floor(log10(abs(time1.tv_usec)))+1; + t1=time1.tv_sec+time1.tv_usec/nDigits; + t2=t1; + while (__RPI_wfi==0 && t2-t1 PWM_output (BCM pin 18 only) - direction = 1 -> output - direction = 0 -> input -*/ - -#include "types.h" -#include "RPIPeripheralDigital.h" - - -/*This array maps pin numbers on RPi board, with pin numbers corrsponding -to WiringPi library*/ -int phy_pin[] = {17, 17, 8, 17, 9, 17, 7, 15, 17, 16, /*Pin 1 to 10*/ - 0, 1, 2, 17, 3, 4, 17, 5, 12, 17, /*Pin 11 to 20*/ - 13, 6, 14, 10, 17, 11, 30, 31, 21, 17, /*Pin 21 to 30*/ - 22, 26, 23, 17, 24, 27, 25, 28, 17, 29 }; /*Pin 31 to 40*/ - -/*pin is reduced by one as arrayiindex starts from 0 and pin no starts from 1*/ -void u8RPIDigitalSetups(uint8 pin, uint8 direction) -{ - if(direction == 1) /*Pin to be used as output*/ - pinMode(phy_pin[pin-1], OUTPUT); - else if(direction == 2) - pinMode(phy_pin[pin-1], PWM_OUTPUT); - else - pinMode(phy_pin[pin-1], INPUT); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c deleted file mode 100644 index 0ad575b..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to set clock for pwm channel. Default clock is 19.2 MHz. 'clk_divisor' - along with range decides frequency for PWM - PWM frequency = 19.2 MHz / clk_divisor/ range - Range for clk_divisor = 1-2048 - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" - -void u8RPIHardPWMSetClocks(uint16 clk_divisor) -{ - pwmSetClock(clk_divisor); - - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c deleted file mode 100644 index 7679a1a..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to set mode for PWM channel. Two modes are available - 0 --> balanced mode - 1 --> mark/space mode - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" - -void u8RPIHardPWMSetModes(uint8 mode) -{ - if (mode == 1) /*mark/space mode*/ - pwmSetMode(PWM_MODE_MS); - else - pwmSetMode(PWM_MODE_BAL); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c deleted file mode 100644 index 07936b3..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to assigne pwm duty to specified pin. PWM duty is decided by 'value' - and 'range' specified using corresponding function. - PWM duty = value/range - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" - -void u8RPIHardPWMSetRanges(uint16 value) -{ - pwmSetRange(value); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c deleted file mode 100644 index a16a1d8..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to set range for pwm channel. PWM duty is decided by 'range' - and 'value' specified using corresponding function. - PWM duty = value/range - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" -#include "RPIPeripheralDigital.h" - -void u8RPIHardPWMWrites(uint8 pin, uint16 value) -{ - pwmWrite((int)phy_pin[pin-1], value); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c deleted file mode 100644 index f990255..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send double data array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void dRPISerialSendDataa(int fd, double* data, int size) -{ - int count = 0; - - for (count = 0; count < size; count++) - { - dRPISerialSendDatas(fd, data[count]); - } - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c deleted file mode 100644 index 39112fc..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send double data on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void dRPISerialSendDatas(int fd, double data) -{ - uint8 count; - - union double_bytes{ - double double_data; - unsigned char bytes[sizeof(double)]; - } in_data; - - in_data.double_data = data; - - for(count=0; count>8)); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c deleted file mode 100644 index c4dd199..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send signed 8-bit byte array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void i8RPISerialSendDataa(int fd, int8* data, int size) -{ - int count = 0; - - for (count = 0; count < size; ++count) - { - i8RPISerialSendDatas(fd, data[count]); - } -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c deleted file mode 100644 index e637871..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send signed 8-bit byte on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void i8RPISerialSendDatas(int fd, int8 data) -{ - serialPutchar(fd, (uint8) data); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c deleted file mode 100644 index 14c0bc7..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send float data array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void sRPISerialSendDataa(int fd, float* data, int size) -{ - int count = 0; - - for (count = 0; count < size; ++count) - { - sRPISerialSendDatas(fd, data[count]); - } - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c deleted file mode 100644 index ff78dd1..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send float data on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void sRPISerialSendDatas(int fd, float data) -{ - uint8 count; - - union float_bytes{ - float float_data; - unsigned char bytes[sizeof(float)]; - } in_data; - in_data.float_data = data; - - for(count=0; count>8)); -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c deleted file mode 100644 index cde4cba..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to setup port with desired baud rate. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -int u16RPISerialSetups(char* port, int baudrate) -{ - int fd; - - fd = serialOpen (port, baudrate); - - return fd; -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c deleted file mode 100644 index 5162d15..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to close serial port opened. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialCloses(int fd) -{ - serialClose (fd); -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c deleted file mode 100644 index c80a92c..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to discards data serial buffer (received as well as waiting to be sent */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialFlushs(int fd) -{ - serialFlush(fd); -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c deleted file mode 100644 index e381351..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send 8-bit char on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialSendChars(int fd, uint8 data) -{ - serialPutchar(fd, data); -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c deleted file mode 100644 index 9d09714..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send unsigned 8-bit byte array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialSendDataa(int fd, uint8* data, int size) -{ - int count = 0; - - for (count = 0; count < size; ++count) - { - u8RPISerialSendDatas(fd, data[count]); - } - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c deleted file mode 100644 index 9edb439..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send unsigned 8-bit byte on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialSendDatas(int fd, uint8 data) -{ - serialPutchar(fd, data); - -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c deleted file mode 100644 index c05c959..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to create thread for given function */ - -#include "types.h" -#include "RPIPeripheralThreading.h" - -uint16 RPIThreadCreate(void *(*threadFunction)(void*)) -{ - int status; - status = piThreadCreate (threadFunction); - return status; -} - diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c deleted file mode 100644 index 8374c2b..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to insert some delay in code execution. */ - - - -#include "types.h" -#include "RPIPeripheralTiming.h" - -void u16RPI_delay(uint16 time) -{ - delay(time); - -} - diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c deleted file mode 100644 index df2a7a7..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to insert some delay in code execution. */ - -#include "types.h" -#include "RPIPeripheralTiming.h" - -void u16RPI_delayMicro(uint16 time) -{ - delayMicroseconds(time); -} - diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c deleted file mode 100644 index 8d06742..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to get time in microsecond since first setup function called */ - -#include "types.h" -#include "RPIPeripheralTiming.h" - -uint32 u32RPI_micros() -{ - return(micros()); -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c deleted file mode 100644 index 92b6e1b..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to get time in millisecond since first setup function called */ - -#include "types.h" -#include "RPIPeripheralTiming.h" - -uint32 u32RPI_millis() -{ - return(millis()); -} diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c b/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c b/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c b/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c b/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c b/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c b/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c b/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c deleted file mode 100644 index 3e94b92..0000000 --- a/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h index 842fd73..22d470a 100644 --- a/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h +++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE +/* Copyright (C) 2017 - IIT Bombay - FOSSEE This file must be used under the terms of the CeCILL. This source file is licensed as described in the file COPYING, which @@ -21,8 +21,6 @@ extern "C" { #include "types.h" -extern int phy_pin[]; //Not needed??? - uint8 u8RPI_digitalReads(uint8 pin); uint8 RPI_digitalReadByte(); void u8RPI_digitalWrites(uint8 pin, uint8 state); diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralLCD128x64.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralLCD128x64.h new file mode 100644 index 0000000..d541c9f --- /dev/null +++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralLCD128x64.h @@ -0,0 +1,43 @@ + /* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh, Siddhesh Wani + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + */ +#ifndef __RPIPERIPHERALLCD128x64_H__ +#define __RPIPERIPHERALLCD128x64_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "types.h" +#include "lcd128x64.h" + +int8 RPI_lcd128x64setup(void); +void u8RPI_lcd128x64clears(uint8 colour); +void u8RPI_lcd128x64Orientations(uint8 orientation); +void u8RPI_lcd128x64setOrigins(uint8 x, uint8 y); +void u8RPI_lcd128x64points(uint8 x, uint8 y, uint8 colour); +void u8RPI_lcd128x64lineTos(uint8 x, uint8 y, uint8 colour); +void u8RPI_lcd128x64lines(uint8 x0, uint8 y0, uint8 x1, uint8 y1, uint8 colour); +void u8RPI_lcd128x64circles(uint8 x, uint8 y, uint8 r, uint8 colour, uint8 filled); +void u8RPI_lcd128x64putchars(uint8 x, uint8 y, uint8 c, uint8 bgCol, uint8 fgCol); +void u8RPI_lcd128x64putss(uint8 x, uint8 y, char *str,int size, uint8 bgCol, uint8 fgCol); +void u8RPI_lcd128x64rectangles(uint8 x1, uint8 y1, uint8 x2, uint8 y2, uint8 colour, uint8 filled); +void u8RPI_lcd128x64ellipses(uint8 cx, uint8 cy, uint8 xRadius, uint8 yRadius, uint8 colour, uint8 filled); + +//void u8RPI_lcd128x64orientCoordinatess(uint8 *x, uint8 *y); +//void u8RPI_lcd128x64getScreenSizes(uint8 *x, uint8 *y); +//void RPI_lcd128x64update(void); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__RPIPERIPHERALLCD128x64_H__*/ diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h index 7de051f..096fed0 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h @@ -21,8 +21,12 @@ extern "C" { #endif #define u80RPI_digitalReadu80(pin) u8RPI_digitalReads(pin); +#define d0RPI_digitalReadd0(pin) u8RPI_digitalReads(pin); + #define RPI_digitalReadByteu80() RPI_digitalReadByte(); #define u80u80RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state); +#define d0d0RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state); + #define u80RPI_digitalWriteByte(value) u8RPI_digitalWriteBytes(value); #ifdef __cplusplus diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralInterrupt.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralInterrupt.h index cb55572..572d028 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralInterrupt.h +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralInterrupt.h @@ -21,6 +21,7 @@ extern "C" { #endif #define u80i160RPI_waitForInterrupti80(pin,time) u8RPI_waitForInterrupts(pin,time); +#define d0d0RPI_waitForInterrupti80(pin,time) u8RPI_waitForInterrupts(pin,time); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h index da23bee..e4f3ca2 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h @@ -1,11 +1,11 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE +/* Copyright (C) 2017 - IIT Bombay - FOSSEE This file must be used under the terms of the CeCILL. This source file is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh, Siddhesh Wani + Author: Jorawar Singh Organization: FOSSEE, IIT Bombay Email: toolbox@scilab.in */ @@ -30,8 +30,8 @@ extern "C" { #define u80u80u80RPI_lcdPosition(fd,row,col) u8RPI_lcdPositions(fd,row,col); #define u80u80RPI_lcdPutchar(fd,char) u8RPI_lcdPutchars(fd,char); #define u80u80RPI_lcdSendCommand(fd,cmd) u8RPI_lcdSendCommands(fd,cmd); -#define u80g2RPI_lcdPutss(fd,msg,size) u8RPI_lcdPutss(fd,msg,size[1]);; -#define u80g2RPI_lcdPrintfs(fd,data,size) u8RPI_lcdPrintfs(fd,data,size[1]); +#define u80g2RPI_lcdPuts(fd,msg,size) u8RPI_lcdPutss(fd,msg,size[1]);; +#define u80g2RPI_lcdPrintf(fd,data,size) u8RPI_lcdPrintfs(fd,data,size[1]); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h new file mode 100644 index 0000000..46b6328 --- /dev/null +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h @@ -0,0 +1,58 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#ifndef __INT_RPIPERIPHERALLCD128x64_H__ +#define __INT_RPIPERIPHERALLCD128x64_H__ + +#include "types.h" +#include "RPIPeripheralLCD128x64.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#define RPI_lcd128x64setupi80() RPI_lcd128x64setup(); + +#define u80RPI_lcd128x64clear(colour) u8RPI_lcd128x64clears(colour); +#define d0RPI_lcd128x64clear(colour) u8RPI_lcd128x64clears(colour); + +#define u80RPI_lcd128x64Orientation(orientation) u8RPI_lcd128x64Orientations(orientation); +#define d0RPI_lcd128x64Orientation(orientation) u8RPI_lcd128x64Orientations(orientation); + +#define u80u80RPI_lcd128x64setOrigin(x,y) u8RPI_lcd128x64setOrigins(x,y); +#define d0d0RPI_lcd128x64setOrigin(x,y) u8RPI_lcd128x64setOrigins(x,y); + +#define u80u80u80RPI_lcd128x64point(x,y,colour) u8RPI_lcd128x64points(x,y,colour); +#define d0d0d0RPI_lcd128x64point(x,y,colour) u8RPI_lcd128x64points(x,y,colour); +#define u80u80u80RPI_lcd128x64lineTo(x,y,colour) u8RPI_lcd128x64lineTos(x,y,colour); +#define d0d0d0RPI_lcd128x64lineTo(x,y,colour) u8RPI_lcd128x64lineTos(x,y,colour); + +#define u80u80u80u80u80RPI_lcd128x64line(x0,y0,x1,y1,colour) u8RPI_lcd128x64lines(x0,y0,x1,y1,colour); +#define d0d0d0d0d0RPI_lcd128x64line(x0,y0,x1,y1,colour) u8RPI_lcd128x64lines(x0,y0,x1,y1,colour); +#define u80u80u80u80u80RPI_lcd128x64circle(x,y,r,colour,filled) u8RPI_lcd128x64circles(x,y,r,colour,filled); +#define d0d0d0d0d0RPI_lcd128x64circle(x,y,r,colour,filled) u8RPI_lcd128x64circles(x,y,r,colour,filled); +#define u80u80u80u80u80RPI_lcd128x64putchar(x,y,c,bgCol,fgCol) u8RPI_lcd128x64putchars(x,y,c,bgCol,fgCol); +#define d0d0d0d0u80RPI_lcd128x64putchar(x,y,c,bgCol,fgCol) u8RPI_lcd128x64putchars(x,y,c,bgCol,fgCol); + +#define u80u80g2u80u80RPI_lcd128x64puts(x,y,str,size,bgCol,fgCol) u8RPI_lcd128x64putss(x,y,str,size[1],bgCol,fgCol); +#define d0d0g2d0d0RPI_lcd128x64puts(x,y,str,size,bgCol,fgCol) u8RPI_lcd128x64putss(x,y,str,size[1],bgCol,fgCol); + +#define u80u80u80u80u80u80RPI_lcd128x64rectangle(x1,y1,x2,y2,colour,filled) u8RPI_lcd128x64rectangles(x1,y1,x2,y2,colour,filled); +#define d0d0d0d0d0d0RPI_lcd128x64rectangle(x1,y1,x2,y2,colour,filled) u8RPI_lcd128x64rectangles(x1,y1,x2,y2,colour,filled); +#define u80u80u80u80u80u80RPI_lcd128x64ellipse(cx,cy,xRadius,yRadius,colour,filled) u8RPI_lcd128x64ellipses(cx,cy,xRadius,yRadius,colour,filled); +#define d0d0d0d0d0d0RPI_lcd128x64ellipse(cx,cy,xRadius,yRadius,colour,filled) u8RPI_lcd128x64ellipses(cx,cy,xRadius,yRadius,colour,filled); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* !__INT_RPIPERIPHERALLCD128x64_H__ */ diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h index 0e1f7b4..bd82702 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h @@ -19,11 +19,26 @@ extern "C" { #endif +//pinNumbering #define g2RPI_pinNumberingi80(seq,size) gRPI_pinNumberinga(seq,size[1]); +//getAlt #define u80RPI_getAltu80(pin) u8RPI_getAlts(pin); +#define u160RPI_getAltu80(pin) u8RPI_getAlts(pin); +#define u320RPI_getAltu80(pin) u8RPI_getAlts(pin); +#define d0RPI_getAltu80(pin) u8RPI_getAlts(pin); +//pinModeAlt #define u80u80RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +#define u160u160RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +#define u320u320RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +#define d0d0RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +//pinMode #define u80g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +#define u160g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +#define u320g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +#define d0g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +//pullControl #define u80g2RPI_pullControl(pin,mode,size) u8RPI_pullControls(pin,mode,size[1]); +#define d0g2RPI_pullControl(pin,mode,size) u8RPI_pullControls(pin,mode,size[1]); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h index 5c4e618..d2fae23 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h @@ -21,6 +21,8 @@ extern "C" { #endif #define u320RPI_delay(time) u32RPI_delays(time); +#define d0RPI_delay(time) u32RPI_delays(time); + #define u320RPI_delayMicro(time) u32RPI_delayMicros(time); #define RPI_millisu320() RPI_millis(); #define RPI_microsu320() RPI_micros(); diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c new file mode 100644 index 0000000..5239102 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64Orientations(uint8 orientation){ + lcd128x64setOrientation(orientation); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c new file mode 100644 index 0000000..9019d8f --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64circles(uint8 x,uint8 y,uint8 r,uint8 colour,uint8 filled){ + lcd128x64circle(x,y,r,colour,filled); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c new file mode 100644 index 0000000..a83cef2 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64clears(uint8 colour){ + lcd128x64clear(colour); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c new file mode 100644 index 0000000..d2e2f54 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64ellipses(uint8 cx, uint8 cy, uint8 xRadius, uint8 yRadius, uint8 colour, uint8 filled){ + lcd128x64ellipse(cx,cy,xRadius,yRadius,colour,filled); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c new file mode 100644 index 0000000..f585080 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64lines(uint8 x0, uint8 y0, uint8 x1, uint8 y1, uint8 colour){ + lcd128x64line(x0,y0,x1,y1,colour); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c new file mode 100644 index 0000000..3f791f6 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64lineTos(uint8 x, uint8 y, uint8 colour){ + lcd128x64lineTo(x,y,colour); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c new file mode 100644 index 0000000..a23cddd --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64points(uint8 x,uint8 y,uint8 colour){ + lcd128x64point(x,y,colour); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c new file mode 100644 index 0000000..2dadb44 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64putchars(uint8 x, uint8 y, uint8 c, uint8 bgCol, uint8 fgCol){ + lcd128x64putchar(x,y,c,bgCol,fgCol); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c new file mode 100644 index 0000000..15c54da --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64putss(uint8 x, uint8 y, char* str,int size, uint8 bgCol, uint8 fgCol){ + lcd128x64puts(x,y,str,bgCol,fgCol); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c new file mode 100644 index 0000000..78239d9 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64rectangles(uint8 x1,uint8 y1,uint8 x2,uint8 y2,uint8 colour,uint8 filled){ + lcd128x64rectangle(x1,y1,x2,y2,colour,filled); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c new file mode 100644 index 0000000..c4b1939 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +void u8RPI_lcd128x64setOrigins(uint8 x,uint8 y){ + lcd128x64setOrigin(x,y); +} diff --git a/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c new file mode 100644 index 0000000..8f6e6b6 --- /dev/null +++ b/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c @@ -0,0 +1,19 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "RPIPeripheralLCD128x64.h" + +int8 RPI_lcd128x64setup(){ + int8 out; + out=lcd128x64setup(); + return (out); +} diff --git a/src/c/signalProcessing/includes/dct.h b/src/c/signalProcessing/includes/dct.h index 80668ff..db95274 100644 --- a/src/c/signalProcessing/includes/dct.h +++ b/src/c/signalProcessing/includes/dct.h @@ -29,7 +29,7 @@ void sdcta(float *in,int row,int col,int sign,float *out); void zdcta(doubleComplex *in,int row,int col,int sign,doubleComplex *out); -void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out); +//void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/c/signalProcessing/interfaces/int_dct.h b/src/c/signalProcessing/interfaces/int_dct.h index 3481c4d..ef58b48 100644 --- a/src/c/signalProcessing/interfaces/int_dct.h +++ b/src/c/signalProcessing/interfaces/int_dct.h @@ -29,8 +29,8 @@ #define z2d0dctz2(in,size,sign,out) zdcta(in,size[0],size[1],sign,out) -#define c2dctc2(in,size,out) cdcta(in,size[0],size[1],-1,out) +//#define c2dctc2(in,size,out) cdcta(in,size[0],size[1],-1,out) -#define c2s0dctc2(in,size,sign,out) cdcta(in,size[0],size[1],sign,out) +//#define c2s0dctc2(in,size,sign,out) cdcta(in,size[0],size[1],sign,out) #endif diff --git a/src/c/signalProcessing/transforms/dct/cdcta.c b/src/c/signalProcessing/transforms/dct/cdcta.c index 5bc2792..7a006a0 100644 --- a/src/c/signalProcessing/transforms/dct/cdcta.c +++ b/src/c/signalProcessing/transforms/dct/cdcta.c @@ -15,6 +15,7 @@ #include "addition.h" #include "types.h" #include "floatComplex.h" +#include "multiplication.h" /*#include "matrixMultiplication"*/ /*#include */ #include @@ -26,7 +27,7 @@ void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out) int x,y; float res,ress; float re,z,q,m; - floatComplex accu = DoubleComplex(0, 0); + floatComplex accu = FloatComplex(0, 0); floatComplex temp,mm; if(sign==-1) { @@ -44,7 +45,10 @@ void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out) for(j=0;j. + *********************************************************************** + */ + +extern void lcd128x64setOrigin (int x, int y) ; +extern void lcd128x64setOrientation (int orientation) ; +extern void lcd128x64orientCoordinates (int *x, int *y) ; +extern void lcd128x64getScreenSize (int *x, int *y) ; +extern void lcd128x64point (int x, int y, int colour) ; +extern void lcd128x64line (int x0, int y0, int x1, int y1, int colour) ; +extern void lcd128x64lineTo (int x, int y, int colour) ; +extern void lcd128x64rectangle (int x1, int y1, int x2, int y2, int colour, int filled) ; +extern void lcd128x64circle (int x, int y, int r, int colour, int filled) ; +extern void lcd128x64ellipse (int cx, int cy, int xRadius, int yRadius, int colour, int filled) ; +extern void lcd128x64putchar (int x, int y, int c, int bgCol, int fgCol) ; +extern void lcd128x64puts (int x, int y, const char *str, int bgCol, int fgCol) ; +extern void lcd128x64update (void) ; +extern void lcd128x64clear (int colour) ; + +extern int lcd128x64setup (void) ; diff --git a/thirdparty/lib/raspberrypi/libRPIwfi.a b/thirdparty/lib/raspberrypi/libRPIwfi.a new file mode 100644 index 0000000..0a9cf2b Binary files /dev/null and b/thirdparty/lib/raspberrypi/libRPIwfi.a differ diff --git a/thirdparty/lib/raspberrypi/libwiringPi.so b/thirdparty/lib/raspberrypi/libwiringPi.so deleted file mode 100644 index da4a81e..0000000 Binary files a/thirdparty/lib/raspberrypi/libwiringPi.so and /dev/null differ diff --git a/thirdparty/lib/raspberrypi/libwiringPiDev.so b/thirdparty/lib/raspberrypi/libwiringPiDev.so deleted file mode 100644 index b52f791..0000000 Binary files a/thirdparty/lib/raspberrypi/libwiringPiDev.so and /dev/null differ -- cgit