NXT-G PCF8591 block...
NXT-G PCF8591 block...
I just received the Extreme NXT 2nd edition book. I had the first one in digital format and when the second edition came out I figured I just had to get it as I really enjoyed the first edition. I've speed read the whole thing and it looks like fun, my favorites being the servo controller and the keypad setup. However, I did have one problem. There is a PCF8591 block mentioned in the book. Well, actually two blocks. The Mindsensors one and a different one that is supposedly better. And, I can see why. The Mindsensors block is fairly complicated.
My problem is I can't find the block. It is mentioned in chapter two that NXTasy.org hosts the blocks needed in the book but as we all know, NXTasy is dead . Xander uploaded the blocks from the repository here but nowhere do I see mention of the PCF8591 block. I also checked both Philo and Mr. Gasperi's websites but it doesn't appear as if they have them. Does anyone have an idea of where I can get this block (or have a copy hidden in the deep, dark depths of their hard drive?)? I might eventually try to see if it's possible to use the I2C R/W blocks but I want to keep it simple for now.
Oh and do yourself a favor and get a copy of the book . You can get it on Amazon.com for under $10 US shipped.
My problem is I can't find the block. It is mentioned in chapter two that NXTasy.org hosts the blocks needed in the book but as we all know, NXTasy is dead . Xander uploaded the blocks from the repository here but nowhere do I see mention of the PCF8591 block. I also checked both Philo and Mr. Gasperi's websites but it doesn't appear as if they have them. Does anyone have an idea of where I can get this block (or have a copy hidden in the deep, dark depths of their hard drive?)? I might eventually try to see if it's possible to use the I2C R/W blocks but I want to keep it simple for now.
Oh and do yourself a favor and get a copy of the book . You can get it on Amazon.com for under $10 US shipped.
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Re: NXT-G PCF8591 block...
Sorry to bring up an old post. I emailed Philo, who told me that Mr. Gasperi might have a copy of the block. He did and said that I could upload it here. So, I'm uploading it here so that those still programming with the old dinosaur, NXT-G, can use it as well. Would one of the admins mind uploading this to the repository? Credit goes to Michael Gasperi for creating the block and sending me a copy.
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Re: NXT-G PCF8591 block...
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: NXT-G PCF8591 block...
It is... and it isn't . That's a different block that does the same thing. Like I said before, it is rather buggy and I find Michael Gasperi's version easier to use. It's pretty much just four outs and one it. Each to his own, I guess .mightor wrote:It's available right here: http://www.mindsensors.com/index.php?mo ... ment_id=78
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
-
- Posts: 33
- Joined: 14 Dec 2010, 13:09
- Location: Scotland
- Contact:
Re: NXT-G PCF8591 block...
There is a program (looks like some version of C) on this site :- http://www.tau.ac.il/~stoledo/lego/i2c- ... 591accel.c
Absolutely no idea what it is for so don't know if it is useful or not.
Absolutely no idea what it is for so don't know if it is useful or not.
Re: NXT-G PCF8591 block...
Yes, I saw that code and was trying to base some NXT-G code off of it, using the I2C read/write blocks but never got it working. Finally broke down and figured that I'd use a block intended for the 8591 chip. That's when I created this topic... Thanks though!
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Re: NXT-G PCF8591 block...
Do them a favour and send Mindsensors a bug report about the block. They're not going to know without your feedbacknxtreme wrote:Like I said before, it is rather buggy and I find Michael Gasperi's version easier to use.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: NXT-G PCF8591 block...
Okie dokie. As soon as I have some time to play around with it and find out exactly what doesn't work the way it should, I will . Now, off to tame my pet Panther that's wandering around the house...
Last edited by nxtreme on 19 Feb 2011, 03:02, edited 1 time in total.
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Re: NXT-G PCF8591 block...
I finally emailed Philo, who passed me on to Michael Gasperi, who told me that yes, he did have a copy of the block. I found out that he actually made it, and since NXTasy was the only place it was published (AFAIK), it disappeared. Anyways, I was going to post the zip that he sent me, but forgot (until now...). Anyways, here it is. Haven't actually used it yet, but will eventually. Xander or afanofosc, could you maybe put this in the repository? Thanks again Michael!
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Re: NXT-G PCF8591 block...
Don't know if it included the same file but source code from that book (and many others) can be found at http://www.apress.com/book/sourcecodes
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
Who is online
Users browsing this forum: Semrush [Bot] and 3 guests