[Ovmsdev] Issue with PubSub Example Script
solterra at kezarnet.com
solterra at kezarnet.com
Wed Sep 11 07:36:25 HKT 2024
I'm currently working on a script that utilizes PubSub, but I'm running
into an issue where the background function doesn't seem to display any
output in the shell. I'm following the example from the website:
|var myTicker = function(msg, data) { print("Event: " + msg + "\n"); };
PubSub.subscribe("ticker.10", myTicker); |
For some reason, I can't get the |myTicker| function to output anything
when triggered. It seems like the print statements aren't being executed
as expected.
Has anyone encountered this before, or does anyone have suggestions on
what might be causing this issue?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240910/1c3ec608/attachment.htm>
More information about the OvmsDev
mailing list