I think this is what you are looking for - were you looking at the same scripts?:
As for why it doesn’t work on UP2, well that’s something that we can’t help you much. What we know about UP2 is that it’s supposedly a drop-in replacement for the Raspberry Pi, so it should already work for you. If not, then probably there’s a compatibility bug on UP2 that needs to be remedied.
Hey @RobertLucian - Thank you very much for the reply. Unfortunately it is not a drop in replacement. The RPi python packages and smbus packages do not work on the UP^2. But the sample scripts were helpful to get most of the sensors in the kit working. I’ve got the led, lcd, temperature and light sensor working. Just the rotary encoder and button left to go
I’ve got one suggestion for you. You might want to start using the beta version of the GrovePi as there are a lot of fixes in it that make it more reliable than the current one (v1.2.7). Since it’s not yet public, here’s a post with some instructions on how to get it installed.