Thank You for the answer. It is clear now that Onion is the right device to make controller in short time.
Posts made by Pux
-
RE: GPIO operation and Flash memory
-
RE: GPIO operation and Flash memory
Actually, I expected a lot of comments stated that I am not right. Does silence means that, when I saw a code in GPIOhelper class I was right:
def getPin(self, pin): # Set direction as in fd = open(self.pinDirectionPath.replace("$", str(pin)), 'w') fd.write("in") fd.close() # Get value
...
I did understand that every time when GPIO ir read, file will be overwritten.
So in case I would read the state 10 times per second, then after (100000 cycles) or after 10 000 seconds flash memory will be damaged.Is there a case to get somehow info about GPIO state and set the GPIO output by using RAM?
Or I am wrong as this file is not actually a file but a register? Not familiar with linux enough. -
GPIO operation and Flash memory
I have a plans to use Omega as replacement for MCU that have to control one signal to monitor whether it is on or have meander form. As there is no library for Python that support falling edge detection there should be check made in a double frequency of a pulses.
As GPIO information is written to the file and stored in flash memory, I would like to estimate how long Omega's memory will operate before become damaged (did not find that there is FRAM memory used) if GPIO will be updated 10 times per second ?
Where I am wrong in my meaning or is it true that I could not use Omega as MCU replacement?