secret doorbel

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
jacobsg
Posts: 14
Joined: Sun Jun 14, 2009 10:45 am
Has thanked: 2 times
Contact:

secret doorbel

Post by jacobsg »

Hi
Is it possible to add two or more different secret codes to arm the secret doorbel in the book microcontroller systems engineering? if possible could you guide me to what I need to do.

Thanks

Gerhard Jacobs

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: secret doorbel

Post by Benj »

Hello Gerhard

If you look at the program you will find a string comparison that is done using a string manipulation icon. The result from this is then used to drive a decision icon which decides whether or not to do a task. You should be able to add more keys by copying the comparison and decision code and simply comparing against different keys.

jacobsg
Posts: 14
Joined: Sun Jun 14, 2009 10:45 am
Has thanked: 2 times
Contact:

Re: secret doorbel

Post by jacobsg »

thanks. I am new to flowcode and battle with the technical names, could you be more specific as to where the string is

Gerhard

Post Reply