Many thanks to those who replied. I have downloaded and installed Ubuntu. The standard account is debian and I am using this. I have my program in a folder 'workspace' in 'home' , and I execute the program from within the workspace folder with sudo ./HelloFirst. All of the lines using cout work i.e. messages are printed to terminal and the sleep function allows 1 second between 10 on and of periods for the LED. Its just the LED does not change. I'll have a read of your document link tonight Rusty and see if it can help. I'm new to Linux and the BBB, but I agree with the comment that the LEDS should be available to all users on an embedded system. I'm away at present, but will post the code tomorrow. Thanks again Alastair
On Tuesday, February 11, 2014 4:22:14 PM UTC, Alastair Gilmore wrote: > > Hi, > I've got Ubuntu installed on the BBB and have compiled a C++ Hellow > World on Eclipse and a Ubuntu PC. I can SSH the program to my account on > the BBB, and it runs ok. I then SSH a program to flash the LED (from Derek > Molloy's tutorial) and although the terminal messages appear the LED > doesn't flash. I understand that my BBB account doesn't have 'write' > privileges for the LED, only Root has, but don't know how to make the > program work or change these privileges. I've tried SUDO but that doesn't > work either. Can anyone help me please. > Thanks > Alastair > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
