Giter Site home page Giter Site logo

copythreads's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

copythreads's Issues

Exception running on NodeMCU

Hi

I would like to use CopyThreads but get the following exception (continuously) when running on NodeMCU (12-E) 8266 (flashed for Arduino IDE c++). I used your blink example verbatim.

Thanks

Daniel

14:22:40.230 -> LED1 HIGH67
14:22:40.247 ->
14:22:43.397 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
14:22:43.431 ->
14:22:43.431 -> Soft WDT reset
14:22:43.442 ->
14:22:43.442 -> >>>stack>>>
14:22:43.446 ->
14:22:43.446 -> ctx: cont
14:22:43.453 -> sp: 3ffffdd0 end: 3fffffc0 offset: 01a0
14:22:43.473 -> 3fffff70: 00000000 feefeffe 40201298 40201280
14:22:43.492 -> 3fffff80: 3fffdad0 00000000 3ffee4d8 40201126
14:22:43.515 -> 3fffff90: 3ffee588 00000000 3ffee574 4020144e
14:22:43.540 -> 3fffffa0: feefeffe feefeffe feefeffe 40201cf4
14:22:43.564 -> 3fffffb0: feefeffe feefeffe 3ffe85d8 40100bc9
14:22:43.592 -> <<<stack<<<
14:22:43.596 ->
14:22:43.596 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
14:22:43.635 ->
14:22:43.640 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
14:22:43.664 ->
14:22:43.664 -> load 0x4010f000, len 3460, room 16
14:22:43.681 -> tail 4
14:22:43.697 -> chksum 0xcc
14:22:43.705 -> load 0x3fff20b8, len 40, room 4
14:22:43.807 -> tail 4
14:22:43.807 -> chksum 0xc9
14:22:43.814 -> csum 0xc9
14:22:43.820 -> v00042290
14:22:43.825 -> ~ld
14:22:43.830 -> LED1 HIGH67
14:22:43.846 ->
14:22:46.725 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------

Compiling on Artemis

Hi, I am testing few libraries to find one that works on Sparkfun Artemis modules. I am getting an error on wait:


In file included from d:\Documents\Arduino\libraries\CopyThreads\examples\CTBlink\CTBlink.ino:26:
d:\Documents\Arduino\libraries\CopyThreads\src/Cth.h:146:7: error: 'static void CthClass::wait(int (*)(long unsigned int), long unsigned int)' cannot be overloaded with 'static void CthClass::wait(int (*)(long unsigned int), long unsigned int)'
  void wait(int (*condition)(unsigned long), unsigned long arg) {
       ^~~~
d:\Documents\Arduino\libraries\CopyThreads\src/Cth.h:113:7: note: previous declaration 'static void CthClass::wait(int (*)(long unsigned int), long unsigned int)'
  void wait(int (*condition)(unsigned long priv), unsigned long priv) {
       ^~~~
exit status 1
Error compiling for board SparkFun Artemis Module.

Is this because something is missing on the artemis boards implementation?

CopyThreads throwing error when compiling to Attiny85

When I try compiling the example program CTBlink.ino to my arduino nano it works just fine. But, when I changed the board in Tools settings to Atting85 I get this error:

C:\Users\Userl\Documents\Arduino\libraries\CopyThreads\src\Cth.cpp: In function 'void loop()':

C:\Users\User\Documents\Arduino\libraries\CopyThreads\src\Cth.cpp:70:6: error: 'serialEventRun' was not declared in this scope

  if (serialEventRun) serialEventRun();

      ^

exit status 1
Error compiling for board ATtiny25/45/85.

Is there any solution or bit of code that I can use to fix this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.