Open mattvenn opened 10 years ago
FANTASTIC - 1st collaboration on ScratchGPIO on Github
But.... Due to fact that I've
git merge wasn't sucessfull (Can't blame it really) :)
But I've manually merged and my 5dev branch now has the code in it and online to download http://cymplecy.wordpress.com/2013/11/26/scratchgpio-development-testing/
If you don't mind discarding your git stuff and re-setting up off 5dev branch I promise to not muck around again :)
Note - I moved the code so that it doesn't need an add-on to be specified as we'd want it available to any Scratch script/add-on board
@gbaman Just added #1 with variable path as well - Ta :)
Done
On 13 April 2014 13:18, Andrew Mulholland notifications@github.com wrote:
Looking awesome! This is a quite cool feature I am now rather excited for... Taking photos... WITH SCRATCH! Might want to merge mattvenn#1https://github.com/mattvenn/scratch_gpio/pull/1before merging into main scratchGPIO code
Reply to this email directly or view it on GitHubhttps://github.com/cymplecy/scratch_gpio/pull/3#issuecomment-40306244 .
Variable path doesn't work because scratchgpio is run as sudo so is saving to /root/photos instead of user ~/photos :(
Check http://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo But use $HOME On 14 Apr 2014 00:05, "cymplecy" notifications@github.com wrote:
Variable path doesn't work because scratchgpio is run as sudo so is saving to /root/photos instead of user ~/photos :(
Reply to this email directly or view it on GitHubhttps://github.com/cymplecy/scratch_gpio/pull/3#issuecomment-40323042 .
I've updated 5dev branch with code to cope with sudo usuage
Looking awesome! This is a quite cool feature I am now rather excited for... Taking photos... WITH SCRATCH! Might want to merge https://github.com/mattvenn/scratch_gpio/pull/1 before merging into main scratchGPIO code