Geany is a simple, open-source editor and IDE that comes with most Linux distributions and is installed by default on the Raspberry Pi. ![]() If you don't already have an editor you like, then I suggest using Geany for this course. Other editors can do the same, but if you find yourself reading the error messages from the C compiler and counting lines in the source file, then you are using precious brain cells to do something a machine can do better. I developed the programs using Emacs myself, which can invoke make in an editor window, parse any resulting error messages, and show the lines of source code where the errors occurred. If you already have a preferred editor, especially one that is able to build the program being edited by invoking make, then you can use it to edit the provided programs and make micro:bit programs of your own. Our micro:bits will be powered over USB, and will also communicate with the host computer over USB for downloading programs, for sending and receiving charaters on the serial port, and for connection with debugging software running on the host. Some cables (often the ones supplied for charging bike lights, in my experience) have power wires only, and they are useless for our purposes. The cable doesn't need to be very long, but it does need both power and data wires in it. This we ask you to supply, because you probably have several spare ones already – they are the kind often used with mobile phones. A USB cable, with a full-size 'Type A' plug on one end and a 'Micro B' plug on the other.To carry out the instructions, you will need: Like all the programs we will work with, this one depends on no machine-specific library code, so all the details of how the machine is programmed are explicit. You can get started with programming the micro:bit by building and running a simple program that lets you connect to the micro:bit over a serial interface, then echoes the characters that you type. You can do this from the unix command line, and upload the resulting binary program by copying it with a shell command to a virtual disk drive that represent's the micro:bit's memory. The actions needed to prepare each program are spelled out in a Makefile, which can be interpreted by the unix program make to build the program automatically. Symlink icons are not different to directory icons.The purpose of this lab exercise is to get started with using the micro:bit and the software toolchain that supports building programs for it. Hint: edit the hotkeys for Clipit first to avoid calling clipit menu with ctrl-alt-P -set clipit history to Super-H One cool thing is the ease of comparing directories with the tap of F12 (or whatever shortcut you like!) -see pic below. txt is not linux so in respect to linux text files xfe is disfunctional.Ī nice and promising dual-panel file browser. txt (use pyrenamer as can't multiple rename extensions in xfe).īut. ![]() If linux plain text doc's become executables -select multiple files, > Properties > Permissions uncheck executable, but only works in home partition, so give extension like. deb packages just click to open them in X File Package, then find the buttons on the bottom bar. Press first letter of a dir and the first dir beginning with that letter will open in the panel cbzĮdit a dir/file name -select and press F9 or properties button. In > preferences > general check "include command to by-pass trash"Ĭan't drag a dir over to a panel to replace dir of same name and its files -the copied dir goes inside the dir of its same nameĭelete dir first then copy over fresh (if small)Ĭan't handle some archives, e.g.ar. No mouse-drag select files except from the bottom empty spaceĬannot browse directories while a file copy/move operation is in progressĭelete greyed out? or SHIFT-del unresponsive ? Need to Ctrl-C/Ctrl-X before switching panels or use F5/F6 Select the files to copy/move, F5 = copy to, F6 = move to (it's automatically set to the the opposite panel's directory location)įile selection in panel is lost when switching panel Have to enter the program name (launch command) Opening a file the "open with" dialogue does not give a prog list! ![]() No "+" selection markers by files/dir's like with dolphinĬopy progress shows each file moving, does not show a total eg total files size, percentage copied/moved, est time left.ĭrag a column to cover over an unneeded one Bookmarks can't be removed individually, rearranged, or shown in the left panelīut when moving, copying files, drag and hold over a dir it will open, copy/move/cancel dialogue appears, and the dir returns up-level after the action completed.
0 Comments
Leave a Reply. |