Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry-grove [2015/03/26 08:00] Stéphane Lavirotte |
raspberry-grove [2015/03/26 11:46] (current) Stéphane Lavirotte |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{:public_namespace:grove.jpg?150|}}{{:public_namespace:raspberrypi.png?80|}} | ||
====== Install Groove Pi on Raspberry Pi ====== | ====== Install Groove Pi on Raspberry Pi ====== | ||
+ | |||
+ | {{:public_namespace:grovepi.jpg?200|}} {{:public_namespace:grove_sensors.jpg?600|}} | ||
===== Install native libraries ===== | ===== Install native libraries ===== | ||
Line 18: | Line 21: | ||
</code> | </code> | ||
- | ===== Give access for user to GrovePi ===== | + | ===== Give access to GrovePi for a regular user ===== |
+ | |||
+ | <note warning>At the moment, with the current implementation, you will have to be root when you execute WComp in order to be able to access gpio. We currently using the wiringPiSetup function which needs to be called as root user. We are working on a different solution to avoid this problem using wiringPiSetupSys and gpio program. | ||
+ | |||
+ | So, when you use Grove sensors, you will need to lauch WComp container, with sudo | ||
+ | <code> | ||
+ | sudo mono ContainerMonoLinux.exe -r Beans -l pathToGroveSensorFile.wcc ... | ||
+ | </code> | ||
+ | </note> | ||
You have to give access to a regular user to GrovePi to avoid to use ''sudo'' to your program when you want to access GrovePi. | You have to give access to a regular user to GrovePi to avoid to use ''sudo'' to your program when you want to access GrovePi. | ||
Line 41: | Line 52: | ||
</code> | </code> | ||
- | After adding group and user to group, you have to logout and login again to have the right permissions. | + | After adding group and user to group, you have to logout and login again to have the right permissions ti these files. |
+ | |||
+ | <note important>To be continued</note> |