Commit Graph

1179 Commits

Author SHA1 Message Date
stevstrong e76e8adb52
F1 tone resolution: try to force compiler optimisation 2018-03-23 10:55:26 +01:00
stevstrong 41b165cae0
Increase tone resolution
Small change to increase tone resolution by multiplying before dividing.
2018-03-20 11:53:03 +01:00
Roger Clark 54c6896180
Merge pull request #458 from madias123/patch-2
Update TouchButtons.ino to use Serial instead of Serial1
2018-03-18 20:23:31 +11:00
Roger Clark 0ac3df5628
Merge pull request #462 from stevstrong/patch-11
Update i2c.c to fix bug with devices where ID = 0x7x
2018-03-18 20:21:11 +11:00
stevstrong ad0090bc1b
Update i2c.c
fix for unrecognized devices having ID 0x7..
2018-03-15 19:23:49 +01:00
Thomas Friedrichsmeier ffc0b29880 Update README 2018-03-15 08:16:42 +01:00
Thomas Friedrichsmeier ca3ead06b3 Base Adafruit_GFX_AS on Adafruit_GFX, keeping only the additiona in a derived class.
The point of this is to make drivers based on Adafruit_GFX_AS compatible with Adafruit_GFX,
without breaking existing code written for Adafruit_GFX_AS.

See also http://stm32duino.com/viewtopic.php?f=9&t=3352
2018-03-14 21:45:27 +01:00
Thomas Friedrichsmeier 97dbf08a5e Small fixes 2018-03-13 20:55:45 +01:00
Thomas Friedrichsmeier 7e13702bcb Some updates to the XPT2046 touchscreen library:
- Add TS_Point-class and getter for better compatibility with various other touchscreen libraries out there
- Add oversampling for better accuracy. Default is seven samples per point
- Use SPI.beginTransaction() / endTransaction() to set proper SPI speed (as supported by XPT2046)
2018-03-13 18:06:35 +01:00
madias123 25e2945cd8
Update TouchButtons.ino
Compatibility: Using Serial instead of Serial1
2018-03-12 23:46:29 +01:00
MackPi 075eae5885 Added Variant STM32F103VB
Added Board Varient STM32F103VB.
Replaced #ifdef STM32_HIGH_DENSITY
with #if STM32_NR_PORTS > 4
Where it makes sense for High Pin count medium density parts like the
STM32F103VB.
2018-03-03 17:40:14 -08:00
per1234 78123aa8fe
Fix formatting and typos in README.md 2018-02-26 17:36:11 -08:00
Roger Clark e37e0bdc87
Merge pull request #435 from KenWillmott/patch-1
Update BluePill-RTClock-test.ino
2018-02-26 15:54:14 +11:00
Maik Wöhl 5287d86268
Use useradd instead of adduser
``adduser`` isn't available on all linux systems. 

usermod is available.
2018-02-25 14:00:13 +01:00
MackPi 33736462f6 Added Variant STM32F103VB
Added Board Varient STM32F103B.
Replaced #ifdef STM32_HIGH_DENSITY
with #if STM32_NR_PORTS > 4
Where it makes sense for High Pin count medium density parts like the
STM32F103VB.
2018-02-15 22:36:42 -08: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
Ken Willmott c6ef07affe
Update rtc_util.c
Modify rtc_get_count() and rtc_get_divider() to fix non-atomic accesses to RTC counter registers
2018-02-10 18:52:15 -05:00
stevstrong 66092e6e39
Update timer.h
corrected mask for OCxM bits in CCMR1/2 registers (see RM0008 rev.16 p. 413)
2018-02-10 18:45:03 +01:00
Roger Clark 36bd1be387 Added Timer 'Input Capture' support and example 2018-02-10 14:47:33 +11:00
victorpv 771be821c2 Hardware serial corrections 2018-02-07 22:36:28 -06:00
Jiri Bilek 5f6c8ef670 Fixed indentation 2018-02-03 14:07:05 +01:00
Jiri Bilek 85e0c9b602 Fixing now() in RTClock.h in STMF4 library 2018-02-03 13:41:59 +01:00
Jiri Bilek 35e0a6453a Fixing now() function
The now() function was defined using the #define directive. That is
wrong as it prevents using the keyword "now" in other situations.
2018-02-03 13:15:56 +01:00
Roger Clark 42a5e9f907
Update BOARD_NR_GPIO_PINS for STM32F103V
This fixes problem caused by 951d0acf17 (diff-3df511e94e3cba57d187bb1322b9f6c6)
2018-02-02 09:16:51 +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
aster94 eede5aba0e
Add files via upload 2018-01-25 15:24:53 +01:00
aster94 d7e305bbcd
Merge pull request #1 from aster94/removing-dll-and-exe
Removing dll and exe
2018-01-25 15:22:56 +01:00
aster94 3e1adc2662
Add files via upload 2018-01-25 15:22:03 +01:00
aster94 37907052ef
Add files via upload 2018-01-25 15:20:34 +01:00
Vincenzo Gibiino 632af3ec9f stm32duino now uses __IO 2018-01-24 20:33:11 +01:00
aster94 ccd94bd9fa
Add files via upload 2018-01-24 19:20:06 +01:00
Roger Clark 5368d04c56 Merge branch 'lacklustrlabs-WireSlave' 2018-01-24 08:06:30 +11: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 8a18e09161 Merge branch 'lacklustrlabs-TIMER_CCMR1_CC2S_INPUT_TI1' 2018-01-24 08:02:17 +11:00
Roger Clark 82ee5b1f33 Merge branch 'TIMER_CCMR1_CC2S_INPUT_TI1' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-TIMER_CCMR1_CC2S_INPUT_TI1 2018-01-24 07:56:48 +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
Roger Clark 52c3c312f0
Merge pull request #429 from lacklustrlabs/gitignore_X.local.txt
Added platform.local.txt and boards.local.txt to .gitignore
2018-01-24 07:37:08 +11:00
Roger Clark 9fe0363f8f
Merge pull request #430 from lacklustrlabs/Wcomment
Fixed typo causing  'warning: multi-line comment [-Wcomment]'
2018-01-24 07:30:45 +11:00
lacklustrlabs 495f3b9cb5 Fixed 'warning: multi-line comment [-Wcomment]' 2018-01-23 14:59:36 +01:00
Lacklustrlabs 1b8b05c883 Added platform.local.txt and boards.local.txt to .gitignore 2018-01-23 13:19:39 +01:00
lacklustrlabs 388995efbb Adhere to the format of #323 2018-01-23 13:07:42 +01:00
lacklustrlabs 2b6e139884 According to STM32F103 RM0008: TIMx_CCMR1::CC2S=01 -> channel is configured as input, IC2 is mapped on TI2. 2018-01-23 13:07:42 +01: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