Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
krohneew  
#1 Posted : Monday, January 25, 2016 2:38:52 AM(UTC)
krohneew

Rank: Member

Groups: BetaUser, Registered
Joined: 12/6/2015(UTC)
Posts: 10

I discovered this after I bought the full version of Embrio; the code this MWE is based on worked in connected mode, but then failed in uploaded mode. This led to the unfortunate experience of buying Embrio only to have my code fail as soon as I tried to use it.

In connected mode, it is possible to fire a trigger by directly writing to an Output_Trigger; the same code fails in uploaded mode. For example, the following MWE blinks the pin 13 LED in connected mode, but leaves it unlit in uploaded mode:



On the other hand, replacing the direct assignment to Output_Trigger with FireTrigger(Output_Trigger) causes both connected and uploaded modes to behave the same.

EmbrioAdmin  
#2 Posted : Monday, January 25, 2016 6:26:09 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Perfect bug report, thanks! I've got it fixed and it'll be in the next installer a little later this week.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error