Propeller based IRC Client / Bot
Harrison.
Posts: 484
I've been working on a very rudimentary irc client / bot for the Propeller. I set it to join the #propeller channel on irc.freenode.net today and forum members there seemed very interested.
It currently responds to a few commands to prove that it does work. I've attached a snippet of the source code along with some pictures of it in action for your enjoyment. I'll post the full sources after I fix some bugs in the sockets / ethernet driver.
Any suggestions on how to efficiently parse the incoming text would be greatly appreciated. I remembered seeing some sort of string utility object, but I can't seem to find it anywhere.
Harrison
It currently responds to a few commands to prove that it does work. I've attached a snippet of the source code along with some pictures of it in action for your enjoyment. I'll post the full sources after I fix some bugs in the sockets / ethernet driver.
Any suggestions on how to efficiently parse the incoming text would be greatly appreciated. I remembered seeing some sort of string utility object, but I can't seem to find it anywhere.
Harrison
Comments
Which problem do you have with your display ?, I assume is a 320x200 or 320x200 with or w/o controller ?
The temperature in Texas still seems to be zero, so I think that still needs work
This is a really fun way to see the Prop in action!
Cheers,
--fletch
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Join us in the Un-Official Propeller IRC channel: irc.freenode.net #propeller
Newbies, oldies, programmers, math professors, and everyone in-between welcome!
Propeller IRC howto
spinc - open source Spin compiler
This could be the next "Y-Box" style device. If you can get it to fit in an altoids tin that is.
Looks great!
edit: I have just been online and chatting to it and it truly is fantastic.
Commands that work are currently.
Sorry if I missed any.
Everyone go online and check this out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Stickers for sale
Post Edited (computer guy) : 3/8/2008 10:55:34 PM GMT
obex.parallax.com/objects/230/
It is designed so that you tell it what comes before / after the data you want and it will tell you what is in the middle.
For example
Should return "Scanned value is 0x13Ab decimal 5035".
Good luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Stickers for sale
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1010, so be surprised!
Post Edited (tpw_man) : 3/9/2008 7:03:01 PM GMT
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Harrison, do you mind if I help write the software?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Stickers for sale
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1010, so be surprised!
I have removed the TV version of the code as it has changed allot.
I will upload it as soon as it has been tested. This will be late next week.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Stickers for sale
Post Edited (computer guy) : 3/11/2008 8:45:51 AM GMT
I ended up with a functioning client that is hard coded to join the #propeller channel on irc.freenode.net. It has keyboard support, with backspace and blinking cursor support. The screen is split into 3 regions: a blue chat region, a green text input region, and a black raw irc region.
I'm still working on fixing a few minor bugs (like lost of connectivity). I'll post the code tomorrow (someone may need to bug me about this).
Harrison
do you think this is beyond the capabilities of what you're doing?
Is your code going to be Ybox2 Friendly?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A complex design is the sign of an inferior designer." - Jamie Hyneman, Myth Buster
DGSwaner
Awesome! Hope you don't mind if I do a AiGenericText knockoff of this for those of us
using composite/TV screens. [noparse]:)[/noparse]
--
Someone was working on getting the Propeller to speak using wav files,
(rayman maybe) Perhaps at speaking IRC client could be completely
prop based. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
I enjoyed having a look at your project. It's a great idea and looks like fun to build/program. I look forward to your future updates.
Bob
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
Post Edited (Bob Lawrence (VE1RLL)) : 3/12/2008 12:00:22 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Code should be uploaded by the end of next week.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Stickers for sale
Post Edited (computer guy) : 3/12/2008 4:28:47 AM GMT