Commit Graph
974 Commits
Author SHA1 Message Date
hathach 10a9af52aa Merge pull request #93 from burbankb/master
Allow HardwarePWM::addPin method to return true if _count == MAX_CHAN…
2017-11-06 13:43:19 +07:00
Brandyn Burbank e61fbe9a68 Allow HardwarePWM::addPin method to return true if _count == MAX_CHANNELS, but pin passed was already configured. Return false if trying to add a new pin more than MAX_CHANNELS. 2017-11-05 18:58:41 -07:00
Kevin Townsend 49568c0a72 Merge pull request #89 from Ureloc/master
Added analog oversampling and Uart::flush()
2017-10-25 21:57:43 +02:00
Ureloc 52752f378b Cleaned up analogOversampling()
Removed unneeded code
2017-10-25 15:46:50 +02:00
Ureloc 92b638100c Implemented Uart::flush() 2017-10-25 14:35:08 +02:00
Ureloc 8c8d64315c Added analog oversampling
Implemented analog oversampling which allows any analog pin to be automatically sampled muliple times (upto 256) when analogRead() is used. An average of the samples is then returned.
2017-10-25 13:57:56 +02:00
hathach d718112434 revert custom uuid number to 10 2017-09-28 14:24:18 +07:00
hathach b193c9b03b sync with nrf52 core repo 2017-09-28 12:52:23 +07:00
hathach 7249abe5af update changelog 2017-09-28 12:31:43 +07:00
hathach 351cd82c14 enhance software encoder 2017-09-27 19:35:47 +07:00
hathach 8ad448ebe6 update hw encoder 2017-09-27 18:19:21 +07:00
hathach c4fe926de9 update beacon.ino to suspend loop() 2017-09-27 15:50:58 +07:00
hathach e84fd54027 added suspendLoop for low power 2017-09-27 15:48:15 +07:00
hathach 8493fd6e7f update changelog 2017-09-27 13:37:03 +07:00
hathach d3868b6836 increase BLE_VENDOR_UUID_MAX from 10 to 20 2017-09-27 12:34:38 +07:00
hathach 91702eaa4f update changelog 2017-09-25 20:57:42 +07:00
hathach 121f73475a add hdl_range para to discoverDescriptor()
fix ancs descritpor discover issue
2017-09-25 20:52:45 +07:00
hathach f7f4daa395 fix memory issue with discovery characteristic
- when Number of found chars > Number of expected chars
2017-09-25 20:11:09 +07:00
hathach e33fe9374c clean up 2017-09-18 11:49:04 +07:00
hathach 6786b468a4 close #77 2017-09-15 18:19:06 +07:00
hathach 73ba032939 clean up 2017-09-15 17:58:40 +07:00
hathach b2e49f2fc9 Adacallback support fromISR call
- change Prioprity for loop() to LOW
- defer interrupt for both hw and sw encoder to ada callback
2017-09-15 17:56:24 +07:00
hathach 9b71709c13 defer callback for hw encoder to ada callback 2017-09-15 17:36:42 +07:00
hathach 509d55f9a5 Add Adacallback as part of the repo and initial task 2017-09-15 16:40:14 +07:00
hathach 89a3de8a05 change adacallback from cpp to c 2017-09-15 16:32:44 +07:00
hathach c53d337350 move adacallback to core repo 2017-09-15 16:32:04 +07:00
hathach 0101bcc8fc complete refactor AdaCallback to generic arguments 2017-09-15 16:24:45 +07:00
hathach 725cea11ff refactor AdaCallback
- replace BLEGap connect_callback_t with adacb_1arg_t
- replace BLEGap disconnect_callback_t with adacb_2arg_t
2017-09-15 02:44:34 +07:00
hathach a8496fcaf1 refactor AdaCallback
- use BLEGap connect_callback_t as  adacb_1arg_t
2017-09-15 02:34:23 +07:00
hathach 37d53cbe2a clean up 2017-09-15 02:25:47 +07:00
hathach c036808000 refactor ada callback
remove BLEScanner::rx_callback_t to adacb_worker_1arg_t
2017-09-15 02:23:44 +07:00
hathach da4125c910 refactor AdaCallback
remove BLEAdvertising stop_callback_t
2017-09-15 02:15:59 +07:00
hathach 8a175aa815 update docs 2017-09-15 00:09:57 +07:00
hathach 3db9b9150a add SW encoder callback support and example 2017-09-14 23:54:08 +07:00
hathach 5d03ea59d0 reduce max sw encoder from 8 to 4 2017-09-14 23:48:44 +07:00
hathach 2e61dab738 tested software encoder 2017-09-14 23:09:05 +07:00
hathach 97114cb54d clean up 2017-09-14 22:37:33 +07:00
hathach a51c4c7de6 more rename 2017-09-14 22:37:16 +07:00
hathach 2d2114cb45 update sw encoder 2017-09-14 22:36:22 +07:00
hathach 507f60e63f adding Software Encoder 2017-09-14 01:49:35 +07:00
hathach 09e3dc3712 more clean up 2017-09-14 01:23:39 +07:00
hathach 23dca4bc75 add callback support 2017-09-14 01:09:03 +07:00
hathach 337b683e9f rename 2017-09-14 00:58:07 +07:00
hathach 9a1581e07b rename 2017-09-14 00:57:49 +07:00
hathach 1530258aef rename Qei to RotaryEncoder 2017-09-14 00:52:28 +07:00
hathach 7eb49b5476 rename to HwRotaryEncoder 2017-09-14 00:51:53 +07:00
hathach 10e72573a5 update Encoder to singleton pattern 2017-09-13 23:16:13 +07:00
hathach 9177cb48db update rotary encoder 2017-09-13 21:38:58 +07:00
hathach a63f53f75d clean up 2017-09-13 21:21:03 +07:00
hathach 97ecc06347 update encoder 2017-09-13 19:05:25 +07:00