Open jacksnodgrass opened 9 months ago
This was the first time I wrote a complete piece of software in Python, and I haven't coded in Python since. Therefore, it takes courage for me to immediately start improving the program (lol).
Now, I thought about how I could run PiCW standalone for development purposes on my computer. In InputOutputPort*.py, make the function that operates GPIO a dummy, and modify the beep* function so that the function that generates sidetone outputs audio from the PC instead of outputting PWM. It seems good. It seems that a library called pyaudio can be used in Python for such purposes.
Do you have a favorite coding language. I am an old php programmer myself... been doing php for 20+ years. Just can't get into python. As a first pass... I just took one of the InputOutputPort files, copied all of the def
I like to develop stuff ( when I can ) on my own Linux box. Developing stuff ON the Pi can slow things down. It would be nice if I could do a
git clone https://github.com/ykaw/PiCW.git
on my main linux box and run it from there instead of having to run on my PI. Some stuff could be worked on / coded that doesn't have to have the GPIO suppport if it ran on a non-Pi box.I've started working on a InputOutputPort_dummy.py file that lets me start PiCW on my main linux box, but I don't really know Python ( I've done PHP for 20+ years ) and it's slow going.
Just a thought... wish....