SMTP + serial ports

W

Watts Watts

Hi, i'm kinda new at ruby, and i wanna know (didnt even install
ruby-serial), if there is anyone willing to help me at my project.
What i need is, "Listen on serial port for signal changing at pins" ie,
wait for analog input, and then, "use SMTP to send from one GMail
account to other a notification mail." (i think this one is clear)

If you have any suggestions how should i do the code etc, i'll be glad
for an answer.

ALSO: if you have idea which distro should be good for ruby (AFAIK gem
and dev stuff fail at windows ATM) i'd be glad to know which you think
is "the best" - linux expirience aren't problem. will try on Ubuntu
(because i'm (confession) too lazy for installing arch =)

Cheers
watts at freenode IRC
 
W

Wouter de Bie

RTFM?

I think you'd actually learn something if you did it yourself, instead
of asking others trying to do your homework.
For the distro thing: just go with Ubuntu. Install ruby, gem install
ruby-serial.
Your serial port is probably at /dev/ttyS0.

// Wouter
 
W

Watts Watts

Well i kinda thought that you will see that "Wannabe intelectuals"
(thats how our headmistress calls us) or, gymnasium guys, dont have such
thing for homework, and i thought you could help me out even at starting
with the ruby. however, ubuntu installment is going on now and will test
it out soon
 
W

Watts Watts

Well i said that i'd need a help ;) not that i want somebody do it for
me - would just need lots of time to get started with it :)
and yeah dont worry, i do typos al ot - so translating intelectuals to
english ended up without 2nd L ;)

Well i installed ubuntu and ruby. will start coding tomorrow (personal
issues)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top