Hi Sonnyyu and NoblePepper,
Is there a way to get status about all pins in yun from c/c++/python code running in Linino .
Please note this is not from sketch.
Thanks for any pointers.
Regards
BRE
Hi Sonnyyu and NoblePepper,
Is there a way to get status about all pins in yun from c/c++/python code running in Linino .
Please note this is not from sketch.
Thanks for any pointers.
Regards
BRE
BREL:
Hi Sonnyyu and NoblePepper,Is there a way to get status about all pins in yun from c/c++/python code running in Linino .
Please note this is not from sketch.
As the Linino part of your Yun doesn't have any physical connection to any of the I/O pins, the answer is simply no. You have to use a sketch on the AVR side to get the info about the pins and transfer that information to the MIPS/Linino side via the bridge...
Ralf
Dear Ralf,
Thank you very much for the reply,
Along the same lines, is there a way from Linino that Sketch is running and healthy and how much memory is there on mcu.
Thanks for any pointers on that
Regards
BRE
BREL:
Dear Ralf,Thank you very much for the reply,
Along the same lines, is there a way from Linino that Sketch is running and healthy and how much memory is there on mcu.
Thanks for any pointers on that
Regards
BRE
You would have to communicate that through the bridge as well. Have a regular "heartbeat" message from the sketch to the Linino side via the bridge, which could be the amount of RAM available on the Atmel side. But then, the amount of RAM should be known at upload time and using dynamic allocation of RAM in a sketch should be considered bad practice...
Ralf