Message Boards Message Boards

0
|
9850 Views
|
4 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Code won't run within init.m

POSTED BY: Ken Levasseur
4 Replies

Thanks Ilian, it hadn't occurred to me that the serial connection wasn't initialized. I simply put my code into a package and I delayed running it a minute within a ScheduledTask. It worked!

POSTED BY: Ken Levasseur
POSTED BY: Ilian Gachevski
POSTED BY: David Reiss

David:

Yes, the value of $AddOnsDirectory in the Raspberry Pi version of Mathematica is

/usr/share/WolframEngine/Kernel

The init file evaluates, but for some reason, the Serial connection doesn't get established when I try to do it as part of init.m.

POSTED BY: Ken Levasseur
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract