Commit Graph

270 Commits

Author SHA1 Message Date
Roger Clark e37e0bdc87
Merge pull request #435 from KenWillmott/patch-1
Update BluePill-RTClock-test.ino
2018-02-26 15:54:14 +11:00
Roger Clark f928acf193 Add InputCapture and OnePulse functionality from @stevestrong 2018-02-13 18:34:15 +11:00
Roger Clark c063a916fd Revert "Added Timer 'Input Capture' support and example"
This reverts commit 36bd1be387.
2018-02-11 21:35:31 +11:00
Roger Clark 36bd1be387 Added Timer 'Input Capture' support and example 2018-02-10 14:47:33 +11:00
Ken Willmott 4b6a6e8077
Update BluePill-RTClock-test.ino
Clarify English documentation by changing all occurrences of "10 bits" to "10 digits", referring to Epoch time.
2018-01-31 08:38:14 -05:00
Roger Clark 9c61fbd094 Merge branch 'WireSlave' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-WireSlave 2018-01-24 08:05:27 +11:00
Roger Clark 6f1429175c Manually committed RTClock files, due to problems with PR https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/428 2018-01-24 07:39:35 +11:00
lacklustrlabs daf62cafca Removed a redundant buffer constraint 2018-01-21 17:13:17 +01:00
lacklustrlabs 4e820c3649 Full method signatures in header file.
<pet peeve>
I don't understand why anyone wants to remove useful API information from the header file.
CPP files describes implementation details, header files describes the API.
</pet peeve>
2018-01-21 17:13:17 +01:00
lacklustrlabs b9dbeb69d9 Fixed minor example issues 2018-01-21 17:13:17 +01:00
lacklustrlabs 01c23b6a58 Changed type of transmitting to bool (from uint8_t) 2018-01-21 17:13:17 +01:00
lacklustrlabs 4ad4de080f Saved some 50K flash memory by modifying the singleton implementation 2018-01-21 17:13:17 +01:00
lacklustrlabs b46b7461f4 Merged with Wire implementation from stm32duino/Arduino_Core_STM32 2018-01-21 17:13:17 +01:00
lacklustrlabs 78f8a90a2d Fixed a master/slave mode mixup.
Turns out that (sr2&I2C_SR2_MSL)!=I2C_SR2_MSL indicates slave mode after master has requested, and received, data.

"MSL - Cleared by hardware after detecting a Stop condition on the bus or a loss of arbitration
(ARLO=1), or by hardware when PE=0." -RM0008
2018-01-21 17:13:17 +01:00
lacklustrlabs 987102c8d2 Temporarily removed not yet functioning examples 2018-01-21 17:13:17 +01:00
lacklustrlabs c65ec99a8d Updated library.properties 2018-01-21 17:13:17 +01:00
lacklustrlabs 6fe4a55922 Added SoftWire.h 2018-01-21 17:13:17 +01:00
lacklustrlabs 56e95f2773 Steals any reference to Wire.h and redirects it to Wire_slave.h.
This way we don't need to alter third party libraries.
Note that Wire_slave.h must be included **before** the real Wire.h for this to work.
2018-01-21 17:13:17 +01:00
lacklustrlabs c4fdf5aa63 keywords.txt Copied from ArduinoCore-sam (Due) 2018-01-21 17:13:17 +01:00
lacklustrlabs 3425506d19 spellcheccck 2018-01-21 17:13:17 +01:00
lacklustrlabs 730711b80a Made sure Wire_slave.h is included first 2018-01-21 17:13:17 +01:00
lacklustrlabs 4157ef37a1 Removed some accidental adds 2018-01-21 17:13:17 +01:00
lacklustrlabs 0f78c266ed Added Wire_slave.h (no actual i2c slave implementation yet) 2018-01-21 17:13:17 +01:00
Roger Clark 98f1efdda3
Merge pull request #407 from tfry-git/work/constexpr2
Fix compilation problem in STM32ADC.h when using in -std=gnu++11
2018-01-21 14:37:40 +11:00
stevstrong 63f784ff6f
Update HW_STM32.h
remove static directive
2018-01-02 16:19:31 +01:00
Thomas Friedrichsmeier 63f4162c6c Fix compilation with -std=gnu++11
See https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/402
2017-12-12 10:58:22 +01:00
aster94 e2a62de034
Update i2c_scanner_wire.ino 2017-12-08 10:39:53 +01:00
aster94 b82911742f
Delete i2c_scanner_hardwire.ino 2017-12-08 10:37:26 +01:00
aster94 2d8af307dc
Add files via upload 2017-12-08 10:36:53 +01:00
aster94 558108d63e
Delete WireBase.cpp 2017-12-08 10:36:15 +01:00
aster94 848602e0d6
Delete WireBase.h 2017-12-08 10:36:00 +01:00
aster94 4ffdce29fe
Add files via upload 2017-12-08 10:32:59 +01:00
aster94 acc6cbc371
Add files via upload 2017-12-07 20:11:17 +01:00
aster94 2604eb6be2
Add files via upload 2017-12-07 20:10:35 +01:00
aster94 98ed731df9
Add files via upload 2017-12-07 20:09:30 +01:00
aster94 dbfb68cf91
Add files via upload 2017-12-06 21:52:00 +01:00
Roger Clark 595b128cac Modification to allow SSD1306 example to compile, following changes to Wire to use HWire by default. Note this code is only known to compile , it may not work with the SSD1306 display 2017-12-03 14:39:35 +11:00
Roger Clark e7f46ebed2
Merge pull request #392 from victorpv/patch-2
Correct a bug in FreeRTOS
2017-12-03 10:27:27 +11:00
victorpv bee82cb7c6
Correct a bug in FreeRTOS
As listed in https://www.freertos.org/a00104.html#mailing_list:
"The definition of the StaticTask_t structure is incorrect if INCLUDE_xTaskAbortDelay is set to 1, or the MPU is used. The corrected structure definition can be obtained from here."
https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/include/FreeRTOS.h#l978
2017-11-26 09:29:15 -06:00
stevstrong 023fdfb0e9
Update TimerInterrupts.ino
- replace deprecated function
2017-11-26 10:37:22 +01:00
Roger Clark a7503e1d30
Merge pull request #371 from LightningStalker/master
Update BlinkNcount.ino to use LED_BUILTIN rather than a pin number (which is specific to one board).
Note. LED_BUILTIN needs to be defined for some variants where its missing
2017-11-14 09:18:41 +11:00
Roger Clark 9b4122ecaf Fixed exmple for HardTimerAsEncoder being in wrong location 2017-11-13 11:56:13 +11:00
LightningStalker fd00f02072 Update BlinkNcount.ino to use LED_BUILTIN 2017-11-10 04:10:31 -05:00
aka. N[]NE in gaming communities 15d12bee18
Update BlinkNcount.c
Changed pin to PC13
2017-11-06 19:00:41 -05:00
aka. N[]NE in gaming communities 15ce8137b9
Update BlinkNcount.ino
Uses `#define` for LED pin instead of 5 literals
2017-11-06 08:55:32 -05:00
Roger Clark a03c84a635
Merge pull request #362 from csnol/master
Add TimeZone(UnixTime, HourOffset, MinuteOffset)
2017-10-31 19:53:33 +11:00
csnol 588f9db697 update 2017-10-19 18:31:23 +08:00
csnol 4870e27855 Update 2017-10-19 17:26:42 +08:00
csnol c741afa74a Update TimeZone function
Add  TimeZone(UnixTime, HourOffset, MinuteOffset)
2017-10-19 17:23:48 +08:00
csnol 9f5cdd2d24 updated 2017-10-18 21:45:19 +08:00