Commit Graph

79 Commits

Author SHA1 Message Date
M Wittig 96998888bc
Merge pull request #25 from hvisser/master
Handle interrupt correctly on ESP8266
2021-06-19 18:50:35 +02:00
Hugo Visser b21ffda1b6 Handle interrupt correctly on ESP8266
For ESP8266 the interrupt handler must be in IRAM.
Newer Arduino versions will now crash if this not the case.

See https://forum.arduino.cc/index.php?topic=616264.msg4182494#msg4182494
2019-08-18 12:04:36 +02:00
Marcus Wittig 8ffd76069e
Merge pull request #19 from emilmelnikov/master
Translate pins to interrupts on Arduino
2018-01-07 17:18:19 +01:00
Emil Melnikov 559e972bbb Translate pins to interrupts on Arduino
`attachInterrupt()` and `detachInterrupt()` should be called with interrupt numbers, not pin numbers.

See [Arduino docs](https://www.arduino.cc/en/Reference/AttachInterrupt)
2017-02-06 08:08:50 +03:00
Marcus Wittig 70413e8d90 Merge pull request #15 from ivankravets/patch-1
@PlatformIO Library Registry manifest file
2016-09-18 21:33:20 +02:00
Ivan Kravets b01d520704 @PlatformIO Library Registry manifest file 2016-09-03 22:46:49 +03:00
Marcus Wittig 77d4eb3f8a Merge pull request #14 from eiannone/patch-1
Fixed a little syntax error
2016-07-15 01:21:16 +02:00
Emanuele Iannone 5974111862 Fixed a little syntax error
Added missing semicolon
2016-07-14 23:38:38 +02:00
Oliver Schneider bae86685f6 Merge branch 'master' into development 2016-06-18 14:32:23 +02:00
Oliver Schneider da2f91caec Set minimum package length to 16 (was 32) see pimatic/rfcontroljs#101 2016-06-18 14:27:51 +02:00
Marcus Wittig 166740484a Merge pull request #13 from mcauser/examples
Fix compilation errors in examples. Partially fixes https://github.com/pimatic/RFControl/issues/9
2016-05-24 14:18:59 +02:00
Mike Causer ca54284684 Fix compilation errors in examples 2016-05-24 21:41:44 +10:00
sweet pi - sweet home 2e9b2e0e9b Merge pull request #12 from abmantis/wait_before_noise_check
wait before checking if we are receiving
2016-04-24 14:00:07 +02:00
abmantis 3b9cf94f45 wait before checking if we are receiving.
Without waiting, most of the times the arduino would start sending
while there was still messages in the air. It seems that it had no
time to enter the STATUS_RECORDING_1 state for the second received
message.
2016-04-24 11:54:19 +01:00
Ronny ca566d8e5f adding the ESP8266 to the big arduinos.
fixes https://github.com/pimatic/RFControl/issues/10
2016-02-10 08:19:57 +01:00
Oliver Schneider ae30f667ab ESP8266 arduino support 2015-04-06 23:00:24 +02:00
Oliver Schneider 2b27635f73 fix for sim and pinMode 2015-03-29 22:31:42 +02:00
Oliver Schneider cddd33b8c9 restructoring 2015-03-28 22:32:16 +01:00
Oliver Schneider 63007cbf26 More updates for pulse divider 2015-03-24 18:08:48 +01:00
Oliver Schneider 31f4e21feb Divide pulse length by 4 to handle longer pulses 2015-03-24 17:28:20 +01:00
Oliver Schneider 6326dc3a06 Removed unused verification1 function 2015-03-24 14:16:36 +01:00
Oliver Schneider 4a8aa5217f Rework of new delayMicroseconds function 2015-03-24 14:15:38 +01:00
sweet pi - sweet home 3694568d9d Merge pull request #7 from Icesory/master
New raw function and Bug fix for timings over 16383
2015-03-24 13:56:12 +01:00
Ronny ef05e200b3 change delayMicroseconds
delayMicroseconds can only handle timings up to 16383.
This solved https://github.com/pimatic/rfcontroljs/issues/29
2015-03-24 13:02:51 +01:00
Ronny ca66a57d29 Added new function to get unfiltered RF data 2015-03-02 01:18:55 +01:00
Ronny 89d44e5bf3 Merge https://github.com/pimatic/RFControl 2015-03-01 21:13:31 +01:00
Oliver Schneider 5864442317 Only wait before sending if in first verification state (fixes pimatic/homeduino#16) 2015-03-01 21:07:19 +01:00
sweet pi - sweet home e92aa5995f Merge pull request #5 from pimatic/Icesory-patch-1
Allow sending in state STATUS_RECORDING_0
2015-03-01 20:18:34 +01:00
Ronny 153ce93f25 Allow sending in state STATUS_RECORDING_0
I think the delay "in air" is to long
2015-03-01 17:42:21 +01:00
Oliver Schneider a7e9a2e210 typo fixes 2015-03-01 14:35:32 +01:00
Oliver Schneider c0441af2c8 fix some overflow bugs 2015-03-01 13:55:33 +01:00
Oliver Schneider f18f909cba Merge branch 'development'
Conflicts:
	RFControl.cpp
2015-03-01 13:25:12 +01:00
Oliver Schneider 9684e641b8 listen before talk improvements and send compressed timings support
to reduce used stack memory
2015-03-01 13:23:27 +01:00
Ronny 6c571c935a Merge pull request #1 from Icesory/development
merge
2015-02-01 12:03:13 +01:00
Oliver Schneider 418fd636b6 activated generic verify method, some small cleanups 2015-01-18 21:36:34 +01:00
Oliver Schneider 8aa1b468ff Merge branch 'master' of https://github.com/pimatic/RFControl
Conflicts:
	RFControl.cpp
2015-01-18 19:38:40 +01:00
Oliver Schneider 642d8f03cf listen before talk (wait till no message is in the air before sending) 2015-01-18 19:36:04 +01:00
Ronny 4249e5cafa Removed tabs 2014-12-08 03:24:44 +01:00
Ronny e07e2bb129 Fix for the low pass filter 2014-12-08 03:23:03 +01:00
Ronny de0e3b2160 Automatic MAX_RECORDINGS definition
Homeduino needs around 120Byte SRAM for the Stackpointer.
With MAX_RECORDINGS 512 the RFControl needs around 1100Byte of SRAM
With the Homeduino this is too much and the System dont work.
2014-11-13 02:14:04 +01:00
Ronny 35aa16f189 remove simulation 2014-11-13 00:13:10 +01:00
Ronny 4f4463394a Stop receiving during sending
We dont need to receive our own messages.
So it sets the state machine in to a stoped state an restarts.
Occur this during a receive the receive is stopped. Data is lost
2014-11-12 21:52:35 +01:00
Ronny 8a0f0af78d remove digitalWrite 2014-11-12 20:04:39 +01:00
Ronny 2a64093fc8 Removed tabs 2014-11-12 14:11:03 +01:00
Ronny 6e5b923919 Add Verification exception
Sometimes the state machine stuck at a state lower than 5 and isnt reset by the continueReceiving function
2014-11-12 14:09:28 +01:00
Ronny 63b1639ab9 Update RFControl.h 2014-11-11 17:27:02 +01:00
Ronny 2bf20acb3e Update simulate.h 2014-11-11 17:26:27 +01:00
Ronny 9cbfe33a9d Update simulate.cpp 2014-11-11 17:25:59 +01:00
Ronny b2b74250a1 Update RFControl.cpp
Now it works in the simulation.
2014-11-11 17:24:53 +01:00
Ronny 277b4d3d8c First try for cross package verification
New verification method to verifiy bursts with alternately data packages.
Try to receive data from the Alecto Weather Station
https://github.com/pimatic/rfcontroljs/issues/13

Not ready at the moment!
2014-11-11 00:55:57 +01:00