What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Msn Flash 1.1

Pages: (5): « First « 1 [ 2 ] 3 4 5 » Last »
[Release] Msn Flash 1.1
Author: Message:
novolo
Junior Member
**

Avatar
L2Luna GM

Posts: 67
– / Male / Flag
Joined: May 2006
RE: [Release] Msn Flash 1.1
So,  when you use the Call PortOut(888, 255),      if the pins are connected to a bunch of relays,   does the voltage go continuously or is it just a pulse?   i mean,   my idea is o connect different relays to each pin,  to turn on or of through a command i receive through a message,   so I'm on another computer and i can turn on the radio in my home,  or a light,  or anything....

with the Call PortOut(888, 255) command,   does it send a pulse to all pins or continuous voltage?

and one other thing...    how would you write the script? 

I'm new,  but i can understand already written code,   and seeing the one for the Comm port i see he calls the Mscomm activex or something like that...   how would i start a script to control the LPT1?

This post was edited on 06-26-2006 at 04:16 PM by novolo.
[Image: signature-user=247&back=4&clr=255,255,255&size=80.png][Image: novolo.gif]
06-26-2006 04:14 PM
Profile PM Web Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: [Release] Msn Flash 1.1
quote:
Originally posted by ivan300
Msn
wlm maybe?:P
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
06-26-2006 04:18 PM
Profile PM Web Find Quote Report
Themuzz
New Member
*


Posts: 14
Joined: Jun 2006
RE: [Release] Msn Flash 1.1
Hi Novolo,

I havn't looked that much at it but here some information:

-If you turn a pin on then there is continuously voltage, the  BC547B from the circuit will then allow the I to go from the + to the - , you know...
-It is possible to make it work on recieving a message, but i have to look at the code.. Later this week i will post my code, i hope it's working by then, i'll also post a full tutorial

and the function PortOut(A,B) is used as this:
A = 888 = lpt port 1
B= number calculated by the relays you want to turn on

i'll explain later
06-26-2006 05:44 PM
Profile E-Mail PM Find Quote Report
novolo
Junior Member
**

Avatar
L2Luna GM

Posts: 67
– / Male / Flag
Joined: May 2006
RE: [Release] Msn Flash 1.1
ok great! :)
so PortOut turns on certain pins,   how do i turn them off?

PS:  I'm anxious to see your script to control LPT1 pins :D
[Image: signature-user=247&back=4&clr=255,255,255&size=80.png][Image: novolo.gif]
06-26-2006 06:13 PM
Profile PM Web Find Quote Report
Themuzz
New Member
*


Posts: 14
Joined: Jun 2006
RE: [Release] Msn Flash 1.1
you can turn them off by sending a new command that doesn't include the old one, for example PortOut(888,8) will turn on led (or radio:P) 3 (2^3=8).

If you want to turn it off you just send PortOut(888,0) or anything where 8 is not included...

I hope you understand.

I also made the script and it works so i can now control my lpt1 port with messenger plus! live scripts..
The things i've coded are just for led's flashing, i havn't put anything on to turn it on or off.

But i can code it to turn on a pin on an event...

This is what i've made

+On opening convo; flashing pin 1 and 8
-stops on closing convo or when you type something

+On recieving message 'walk' (so someone sends you message walk) it will turn on pin 1, then 2, then 3, etc, and starts over; a walking light..

I'm waiting till the program is released to make a descent window to config it:
http://shoutbox.menthix.net/showthread.php?tid=61531

So I'm sorry you have to wait :p if it's taking to long i will release something this week...

Perhaps some people could submit a feature that they would like to see, or to turn on a relay on a new event....


Greetz Themuzz

This post was edited on 06-26-2006 at 07:08 PM by Themuzz.
06-26-2006 07:07 PM
Profile E-Mail PM Find Quote Report
novolo
Junior Member
**

Avatar
L2Luna GM

Posts: 67
– / Male / Flag
Joined: May 2006
RE: [Release] Msn Flash 1.1
well,   since you ask to request features,    i would like to see this:

when receives certain message like:  !radio   it would turn on a certain pin,   and that would turn on the relay of the radio...    then i could add something like a response telling that the radio is on...
and if sent again it would turn it off

my idea is that my messenger is online all day,  so i could log in to another account and send commands to my messenger and turn things on and off at my house...

one other thing,   sorry to bother you...    do you use a relay on a pin to turn your radio on?  or how do you do it?  just curious
[Image: signature-user=247&back=4&clr=255,255,255&size=80.png][Image: novolo.gif]
06-26-2006 07:13 PM
Profile PM Web Find Quote Report
DRaGoM
New Member
*


Posts: 13
Joined: Jun 2006
RE: [Release] Msn Flash 1.1
You give me an exellent idea!!! =D
06-26-2006 08:04 PM
Profile E-Mail PM Find Quote Report
ivan300
Junior Member
**


Posts: 51
36 / Male / –
Joined: Oct 2003
O.P. RE: [Release] Msn Flash 1.1
i like you ideas guys. I will play around with the parallel port in the next few days. Also has anyone tried using a tri color led? I have a couple i will test out in a day or two
06-26-2006 08:56 PM
Profile E-Mail PM Find Quote Report
ivan300
Junior Member
**


Posts: 51
36 / Male / –
Joined: Oct 2003
O.P. RE: [Release] Msn Flash 1.1
here is a video of msn flash with a tri-color led

[Image: i530wkd8.jpg]
06-27-2006 12:53 AM
Profile E-Mail PM Find Quote Report
novolo
Junior Member
**

Avatar
L2Luna GM

Posts: 67
– / Male / Flag
Joined: May 2006
RE: [Release] Msn Flash 1.1
so...    any progress with that script to controll the LPT1 ?:P

just checking :P
[Image: signature-user=247&back=4&clr=255,255,255&size=80.png][Image: novolo.gif]
06-27-2006 02:12 PM
Profile PM Web Find Quote Report
Pages: (5): « First « 1 [ 2 ] 3 4 5 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On