Setting up your computer to interact with GitHub Get the Code (using git on the command line) in Linux and Mac Prepare a folder where you want to put the code. mkdir <directory> Change the permissions to allow you to read write and execute on that directory. chmod ugo=rxw <directory> Clone the repository from github (requires pi connected to the net) git clone https://github.com/woodno/raspberry.git Whenever you want to update your code use... git pull Get the Code (using git on the command line) in Windows Find out if you have git installed by opening a console and typing git --version If this works you have git installed. If not follow step 2 You may need to install git for windows. https://gitforwindows.org/ Go to a directory you have created ready to hold your python code. Download the code with... git clone https://github.com/woodno/raspberry.git Whenever you want to update your code use... git pull Using s...
Revision of Linux Find out which directory you are in. pwd list things in the directory ls telling directories from files colour in putty long listings to see permissions (into of sudo) ls -l listing all ls -a ls -la lists long for all files changing into a directory cd changing up a directory cd .. challenge changing into a directory above cd ../<directory> Output to text file > Output overwrite, >>Output append Programming Using Thonny (more about debugging later) Using Nano Forgetting the u3a network so we can be sure it does not get priority. sudo nano /etc/wpa_supplicant/wpa_supplicant.conf Hello World Program. Write 2 programs. One using Thonny and one using nano. Ensure that both work. Any faults (unlikely) here are probably because you have different keyboard encodings. Do your inverted commas look funny? Reading Resistor Values from... https://eepower.com/resistor-guide/resistor-standards-and-codes/resistor-color-code/# Resisto...
Noel, in Raspbian and Linux Mint commands worked fine in Debian 12 I had to precede every command with "sudo"
ReplyDelete