Commit Graph

29 Commits

Author SHA1 Message Date
rogerclarkmelbourne badf7057f0 Removed BOARD_LED_PIN and button pin definitions as they are not core Arduino API definitions and they were causing confusion on users of generic stm32 boards which don't all have an LED and even if they have an LED, the pin it is on is not always on the same pin depending on the model of generic board 2015-04-25 10:41:27 +10:00
Roger Clark 14b59151dd Replaced LiquidCrystal_I2C lib with newer version which was reported to have worked on the arduino forum - ref http://forum.arduino.cc/index.php?topic=310743.msg2186521#msg2186521 2015-04-15 21:08:01 +10:00
Roger Clark f9db223756 Changed to new library format and also updated comments in examples 2015-04-09 19:59:19 +10:00
Roger Clark 84019eede7 renamed OneWireSTM exampeles from pde to ino extension 2015-04-09 19:51:34 +10:00
Roger Clark 54ceae68ce Renamed OneWire library to OneWireSTM and also modified so it doesnt crash Maple or Maple mini boards 2015-04-09 19:50:32 +10:00
Roger Clark 5dcfa4f1b0 Removed non standard functions togglePin, toggleLED,isButtonPressed, and waitForButtonPress. And updated all examples that used these, to use other functions. Note togglePin was used internally in shiftOut. Also note, that some of these functions were replaced by the code that was inside the non standard function e.g inside togglePin. In the longer term these internal maple function calls need to be replaced by high level Arduino API calls like digitalRead and digitalWrite where applicable 2015-04-07 20:57:51 +10:00
Roger Clark 664e1c88ac Second attempt at SPI::DMATransfer. Now uses separate tx and rx buffers, and I also added code to wait for tx to complete and SPI to not be busy before exiting the function. Note. Operation of rx buffer has not been tested 2015-03-30 06:47:26 +11:00
Roger Clark 5f9e8a04dd Added first pas at SPI::DMATransfer(byte *buf, int length) - and updated ILI9341 lib to use DMA Transfer for fill rect 2015-03-30 03:31:41 +11:00
Roger Clark a47caee80d Added old Adafruit_ILI9341 lib, and modified the STM version of the lib so that the class name matches the filename for adafruit_ILI9341_STM 2015-03-27 10:08:47 +11:00
Roger Clark 88933cb191 Merge branch 'master' of https://github.com/victorpv/Arduino_STM32 into victorpv-master 2015-03-21 05:03:17 +11:00
victorpv ab59d0e690 ILI9341_due adapter for STM32F1 DMA 2015-03-19 23:06:51 -05:00
victorpv 78f9031154 Renamed libraries, but using original function names.
This way one knows if he is using the old or STM library by looking at
the include line, while the sketch should compile file as the functions
are named the same. I believe this is the best compromise.
2015-03-18 11:27:31 -05:00
victorpv cbfb5d40b0 Part of the previous commit, github didn't catch this first. 2015-03-18 08:59:25 -05:00
victorpv fcdd15e0ad Revert "Revert "These are the DMA ILI9341 library and Extra fonts GFX""
This reverts commit 6cc87e88bb.
2015-03-18 08:57:46 -05:00
victorpv 6cc87e88bb Revert "These are the DMA ILI9341 library and Extra fonts GFX"
This reverts commit 7e41e0d11b.
2015-03-18 08:55:48 -05:00
victorpv 7e41e0d11b These are the DMA ILI9341 library and Extra fonts GFX
Added DMA support for STM32F1xx, and extra check in line and rect
funtions to avoid trying to draw a 0 width or 0 height line/rectangle,
which would cause 0 bytes DMA transmission and hang in a loop.
2015-03-18 08:55:11 -05:00
Roger Clark e9f67b2f63 Added accessor function for the spi device to spi.h 2015-03-18 20:32:56 +11:00
victorpv d8cf268443 Added adafruit_gfx_as library adapted to maple mini 2015-03-12 19:43:53 -05:00
victorpv 5a3f0db33a Added adafruit_gfx_as library adapted to maple mini 2015-03-12 19:43:03 -05:00
Roger Clark 9cc8f9a0f0 Speed improvements to ILI9341 library (between 25% and 58% faster depending on which function is being called 2015-03-07 05:47:07 +11:00
Roger Clark ef6adc6534 Added LCD7920 library ported by Matthias (@madias on the Arduino forum) 2015-03-07 00:28:59 +11:00
Roger Clark 33e332b0a6 Updated readme.txt in ili9431 lib 2015-03-07 00:24:53 +11:00
Roger Clark 3bc36db069 Added modified version of AdaFruit_ILI9341 library, based on work by Matthias (@madias on the Arduino forum). Also includes a small speed optimization to call nonstandard spi::write(byte) function, as this gives around 20% speed improvement. Note SPI clock rate, chosen my @madias, of DIV_2 is 36Mhz, which exceeds the publish maximum spi clock of 10Mhz, however it seems to work with most devices 2015-03-06 23:03:45 +11:00
Roger Clark ac742edbd7 Improved speed of SPI::write(byte) 2015-03-06 22:40:53 +11:00
Roger Clark 0ca64e1a9a Brought latest version of my fork of the OneWire libary into the repo as a copy. Note. I've not used a submodule as this is harder for people to clone 2015-02-28 09:17:31 +11:00
Roger Clark 06a9ad1ec0 Moved Servo library out of the untested folder now that its been tested and proved working by @ahull on the Arduino forum 2015-02-26 16:15:23 +11:00
Roger Clark 29ddd3beef Update SPI library properties file to fix issue caused by changing folder namne from STM32F1XX to STM32F1 2015-02-26 07:45:16 +11:00
Roger Clark d1950f0aaf Moved untested and probably not working libraroes to a 'Untested' subfolder within libraries 2015-02-25 08:02:07 +11:00
Roger Clark 5f83c13285 renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4 2015-02-24 20:13:04 +11:00