Commit Graph

192 Commits

Author SHA1 Message Date
csnol ed797d43e5 Tested on BluePill for new function of RTC 2017-09-14 00:03:55 +08:00
csnol 6be069cdb6 change TZ from unit_8 to int, negatives timezone
usage: localtime = TimeZone(UnixTime, -7);   // CA USA = -7
2017-09-13 11:02:24 +08:00
csnol 30f8527eaa added TimeZone(time_t xxx, timezone);
Usage:  
time_t localtime;
localtime = TimeZone(UnixTime, 8);   // Beijing timezone = 8
2017-09-13 10:53:08 +08:00
csnol a87ad87fa7 add attachAlarmInterrupt and detachAlarmInterrupt 2017-09-13 04:10:25 +08:00
csnol 7752fc68f2 add attachAlarmInterrupt() detachAlarmInterrupt() 2017-09-13 04:08:04 +08:00
csnol d53cacdb1e Update RTClock.cpp 2017-08-30 23:37:41 +08:00
csnol 6c0be70f2e Update RTClock.cpp 2017-08-30 23:28:01 +08:00
csnol 6e92ddd8bc Add STM32F103-RTC-Serial-Set.jpg 2017-08-29 10:30:27 -05:00
csnol 27f8e127a4 Create a RTC example for new library. 2017-08-29 23:13:02 +08:00
csnol fbe6264003 Rewrite the RTClock library. 2017-08-29 10:07:42 -05:00
Roger Clark 71d5ab9112 Wire lib change buffer size definition to BUFFER_LENGTH for better AVR compatibility 2017-08-25 18:33:04 +10:00
Roger Clark 33411b6e94 Default Wire to 100khz 2017-08-06 21:04:02 +10:00
Roger Clark 8f7a0b6d5a Added pushColors() to ILI9341 library to better support the OV7670 camera 2017-08-04 20:34:48 +10:00
victorpv db9a70c74f Correcting FreeRTOS900 example. 2017-08-03 11:48:26 -05:00
victorpv 1ea988a57d Correcting FreeRTOS900 examples
The examples were still including the 821 version of FreeRTOS, so changing them to include the right one.
2017-08-03 11:47:15 -05:00
Roger Clark bc41851ce4 Changed default Wire (I2C) to use hardware I2C rather than bit banged software. The existing software Wire implementation has been retained as SoftWare. Examples have also been updated to include Wire, HardWire and Softwire. 2017-08-01 16:47:39 +10:00
stevstrong 0db43ae36f SPI clean up + add 16 bit access functions in 8 bit mode 2017-07-28 17:51:54 +02:00
Roger Clark 6b85615221 Change Wire endTransmission to have bool instead of unit8 argument - to match with the Arduino API 2017-07-20 17:43:13 +10:00
Roger Clark b5eadb8409 Merge pull request #312 from victorpv/SPI-Callbacks
Added Spi callbacks from @victorpv
2017-07-16 08:54:18 +10:00
Roger Clark 0f3c6e5854 Merge pull request #278 from syfre/master
Enhancements and fixes to use ADC in continuous mode triggered by an internal timer
2017-07-16 08:45:38 +10:00
Roger Clark 0393be3400 Added setClock() to Wire and Hardware - only 100000Hz and 400000Hz are supported 2017-07-15 18:31:02 +10:00
victorpv 910072c7db Changes tabs for spaces. 2017-07-10 12:08:59 -05:00
victorpv b892004cc2 Add files via upload 2017-07-10 12:00:29 -05:00
Roger Clark 385dfbf29c Merge pull request #270 from SukkoPera/Fix-ifSerial
Added "if serial" and deprecated isConnected()
2017-07-06 08:36:20 +10:00
Roger Clark 1189a3569c Merge pull request #276 from lacklustrlabs/Adafruit_SSD1306_STM32_swap
Add swap() function to ssd1306_128x64_i2c_STM32 as example would not build…
2017-07-04 08:39:56 +10:00
Roger Clark bd8ef73bef Merge pull request #302 from bmarquismarkail/rcmclone
Adding i2C repeated start condition from @bmarquismarkail
2017-07-03 15:31:45 +10:00
Roger Clark 2dbf8b72c3 Merge pull request #261 from victorpv/FreeRTOS900
Added Free rtos900 from @victorpv
2017-07-03 15:29:23 +10:00
U-MarquisSeven\Brandon 54044592fb changing comment 2017-06-26 18:59:33 -05:00
U-MarquisSeven\Brandon 80339e6073 checking out work from master 2017-06-26 18:57:49 -05:00
Roger Clark aef93f74cd Moved encoderLookup LUT from flash to RAM to give 30% speed increase of setPixelColor() - at the expense of 768 bytes of RAM 2017-06-13 10:39:42 +10:00
Roger Clark ca484b4fdd Add WS2812B library again, but this time without the .git folder in it 2017-06-13 10:38:05 +10:00
Roger Clark 40dd7c6fe1 Removed WS2812B lib as it had a .git folder in it which was causing problems 2017-06-13 10:37:16 +10:00
Roger Clark 7487d96f70 Fix typo in Hardware end() 2017-06-13 08:32:56 +10:00
Roger Clark cc355255ac Added WS2812B (aka Neopixel) library using SPI DMA asynchronous transfers and double buffering 2017-06-12 16:42:49 +10:00
Roger Clark 953aa8b88e Added end() to HardWire (I2C) 2017-06-11 15:55:08 +10:00
Roger Clark f47846662d Added Wire.end() for bit banged version (TwoWire.cpp) 2017-06-11 15:42:05 +10:00
Roger Clark 0444a36527 Added an additional SPI API function dmaSendAsync which will start the a DMA send of a buffer and return immediately. The next time dmaSendAsync is called it waits if the previous transfer is not complete. Note the buffer is not copied, so ddouble buffering is needed to use this function 2017-06-11 15:35:14 +10:00
SukkoPera ef60992e20 Merge remote-tracking branch 'upstream/master' into Fix-ifSerial 2017-06-09 22:11:52 +02:00
SukkoPera c4643b265e Remove isConnected() usage and binary zeros from StringEx_Parsinge xample 2017-06-09 22:07:33 +02:00
SukkoPera bf138eb389 Remove isConnected() usage from examples 2017-06-09 22:07:05 +02:00
Roger Clark ed8c7a186f Merge branch 'F1_SPI_development' of https://github.com/stevstrong/Arduino_STM32 into stevstrong-F1_SPI_development 2017-06-06 20:54:53 +10:00
Roger Clark 8477fba5d5 Merge branch 'master' into stevstrong-F1_SPI_development 2017-06-06 20:54:17 +10:00
stevstrong 782b53119d used GFX library changed back to GFX_AS 2017-05-25 10:18:27 +02:00
stevstrong aa79ea1d6e Adafruit_ILI9341_STM - reworked for 16 bit SPI register accesses 2017-05-24 18:40:41 +02:00
stevstrong f1608abe0b SPI update
- cleaned up commented out lines
- run-time optimized write and transfer functions
- run-time optimized non-DMA block read routine
- function call order within DMA routines tied to F4 structure - in line
with AN4031, chapter 4.3
- reworked send functions (currently not used, deprecated, but still)
2017-05-22 21:09:12 +02:00
syfre c8df44228c Add, SMT32ADC example, Single channel at fixed sample rate (timer) using circular buffer (DMA) 2017-05-07 11:41:58 +02:00
syfre d240a7efa7 Fix, compile error in enable_internal_reading() 2017-05-06 23:04:11 +02:00
lacklustrlabs 1d29d13967 The ssd1306_128x64_i2c_STM32 example would not build because of a missing swap() macro. 2017-04-27 18:22:18 +02:00
victorpv ea81f36fa5 FreeRTOS900 2017-03-25 08:31:44 -05:00
Josh Stewart 7c320774b1 Add EEPROM.update() function 2017-02-08 15:17:58 +11:00