GeezerVison is showing github.com — Issue #1 - Removed extra spaces · gregkrsak/ArduinoProtoThread@7ca4307
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: ArduinoProtoThread.cpp +7-7Lines changed: 7 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | | 7 | 7 | // | 8 | 8 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | 9 | | -// associated documentation files (the "Software"), to deal in the Software without restriction, | 10 | | -// including without limitation the rights to use, copy, modify, merge, publish, distribute, | 11 | | -// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | | 9 | +// associated documentation files (the "Software"), to deal in the Software without restriction, | | 10 | +// including without limitation the rights to use, copy, modify, merge, publish, distribute, | | 11 | +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | 12 | 12 | // furnished to do so, subject to the following conditions: | 13 | 13 | // | 14 | | -// The above copyright notice and this permission notice shall be included in all copies or | | 14 | +// The above copyright notice and this permission notice shall be included in all copies or | 15 | 15 | // substantial portions of the Software. | 16 | 16 | // | 17 | 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | 18 | | -// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 19 | | -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | 20 | | -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 18 | +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | | 19 | +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | | 20 | +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 21 | 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 22 | 22 | // | 23 | 23 |
| |
Collapse file Copy file name to clipboardExpand all lines: ArduinoProtoThread.hpp +7-7Lines changed: 7 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8 | 8 | | 9 | 9 | // | 10 | 10 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | 11 | | -// associated documentation files (the "Software"), to deal in the Software without restriction, | 12 | | -// including without limitation the rights to use, copy, modify, merge, publish, distribute, | 13 | | -// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | | 11 | +// associated documentation files (the "Software"), to deal in the Software without restriction, | | 12 | +// including without limitation the rights to use, copy, modify, merge, publish, distribute, | | 13 | +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | 14 | 14 | // furnished to do so, subject to the following conditions: | 15 | 15 | // | 16 | | -// The above copyright notice and this permission notice shall be included in all copies or | | 16 | +// The above copyright notice and this permission notice shall be included in all copies or | 17 | 17 | // substantial portions of the Software. | 18 | 18 | // | 19 | 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | 20 | | -// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 21 | | -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | 22 | | -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 20 | +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | | 21 | +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | | 22 | +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 23 | 23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 24 | 24 | // | 25 | 25 |
| |
Collapse file Copy file name to clipboardExpand all lines: ArduinoProtoThreadStateMachine.hpp +7-7Lines changed: 7 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8 | 8 | | 9 | 9 | // | 10 | 10 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | 11 | | -// associated documentation files (the "Software"), to deal in the Software without restriction, | 12 | | -// including without limitation the rights to use, copy, modify, merge, publish, distribute, | 13 | | -// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | | 11 | +// associated documentation files (the "Software"), to deal in the Software without restriction, | | 12 | +// including without limitation the rights to use, copy, modify, merge, publish, distribute, | | 13 | +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | 14 | 14 | // furnished to do so, subject to the following conditions: | 15 | 15 | // | 16 | | -// The above copyright notice and this permission notice shall be included in all copies or | | 16 | +// The above copyright notice and this permission notice shall be included in all copies or | 17 | 17 | // substantial portions of the Software. | 18 | 18 | // | 19 | 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | 20 | | -// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 21 | | -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | 22 | | -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 20 | +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | | 21 | +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | | 22 | +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 23 | 23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 24 | 24 | // | 25 | 25 |
| |
Collapse file Copy file name to clipboardExpand all lines: arduino_led_flash.ino +9-9Lines changed: 9 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8 | 8 | | 9 | 9 | // | 10 | 10 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | 11 | | -// associated documentation files (the "Software"), to deal in the Software without restriction, | 12 | | -// including without limitation the rights to use, copy, modify, merge, publish, distribute, | 13 | | -// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | | 11 | +// associated documentation files (the "Software"), to deal in the Software without restriction, | | 12 | +// including without limitation the rights to use, copy, modify, merge, publish, distribute, | | 13 | +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | 14 | 14 | // furnished to do so, subject to the following conditions: | 15 | 15 | // | 16 | | -// The above copyright notice and this permission notice shall be included in all copies or | | 16 | +// The above copyright notice and this permission notice shall be included in all copies or | 17 | 17 | // substantial portions of the Software. | 18 | 18 | // | 19 | 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | 20 | | -// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 21 | | -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | 22 | | -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 20 | +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | | 21 | +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | | 22 | +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 23 | 23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 24 | 24 | // | 25 | 25 |
| @@ -40,10 +40,10 @@ ArduinoProtoThread *protoThread; | 40 | 40 | ////////////////////////////////////////////////////////////////////////////////////////////////// | 41 | 41 | void setup() | 42 | 42 | { | 43 | | - // Initialize hardware | | 43 | + // Initialize hardware | 44 | 44 | pinMode(OUTPUT_PIN_LED, OUTPUT); | 45 | 45 | digitalWrite(OUTPUT_PIN_LED, LOW); | 46 | | - | | 46 | + | 47 | 47 | // Initialize protothreads | 48 | 48 | protoThread = new ArduinoProtoThread(); | 49 | 49 | protoThread->setExecutionIntervalTo(500); | |
Collapse file Copy file name to clipboardExpand all lines: pins.h +7-7Lines changed: 7 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | | 7 | 7 | // | 8 | 8 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | 9 | | -// associated documentation files (the "Software"), to deal in the Software without restriction, | 10 | | -// including without limitation the rights to use, copy, modify, merge, publish, distribute, | 11 | | -// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | | 9 | +// associated documentation files (the "Software"), to deal in the Software without restriction, | | 10 | +// including without limitation the rights to use, copy, modify, merge, publish, distribute, | | 11 | +// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | 12 | 12 | // furnished to do so, subject to the following conditions: | 13 | 13 | // | 14 | | -// The above copyright notice and this permission notice shall be included in all copies or | | 14 | +// The above copyright notice and this permission notice shall be included in all copies or | 15 | 15 | // substantial portions of the Software. | 16 | 16 | // | 17 | 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | 18 | | -// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 19 | | -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | 20 | | -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 18 | +// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | | 19 | +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | | 20 | +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 21 | 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 22 | 22 | // | 23 | 23 |
| |
|