Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: Master file for Bitx40
Jack Purdum
I think Farhan has handle this the correct way. This is a common problem with any Open Source software with which I am familiar. It quickly gets out of hand with all of the modifications. To my knowledge, Farhan has not released a new version of his software. Any mods that have been made are by individuals with their own changes. I submitted such a change, but included my call in its title so the reader would know it is not "official". I think anyone who in some way modifies the original Raduino code needs to place some form of identifier in the primary file name (e.g., raduinoW8TEE.ino); Next, and this is where 99% of the problems come, any library that is not distributed with the Arduino IDE needs to treat that library as a custom library and point where that library can be downloaded. I would suggest something like this: #include <AD9850SPI.h> ? ? ? ? // https://github.com/F4GOJ/AD9850SPI #include <EEPROM.h> ? ? ? ? ? ?// Standard with IDE #include <SD.h> ? ? ? ? ? ? ? ? ? ? ?// Standard with IDE #include <Adafruit_GFX.h> ? ? // https://github.com/adafruit/Adafruit-GFX-Library #include <MCUFRIEND_kbv.h> ? ?// https://github.com/prenticedavid/MCUFRIEND_kbv #include <Wire.h> ? ? ? ? ? ? ? ? ? // Standard with IDE #include <rotary.h> ? ? ? ? ? ? ? ? // http://www.buxtronix.net/2011/10/rotary-encoders-done-properly.html This format provides the URL where the library can be downloaded on the same line as the preprocessor #include directive as a comment.? The next problem is that many people new to the IDE do not know how to properly install that library. As a general rule, the library subdirectory name must match the header file for that library. For example, if my Arduino IDE is in a directory on drive C named Arduino1.8.1, then the library I use for the rotary encoder must be located here: ? ?C:/Arduino1.8.1/libraries/rotary When a library is unzipped, often the word "master" is appended at the end of the unzipped directory. That cannot be part of the library subdirectory name. Likewise, if there is a header file (e.g., rotary.h) there must be an associated and like-named C++ file (e.g., rotary.cpp). Therefore, if I have installed the rotary library correctly, I should see: ? ?C:/Arduino1.8.1/libraries/rotary/Examples ? ? // a subdirectory with test programs ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?rotary.cpp ? ?// the C++ source code file for this library ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?rotary.h ? ? ? ?// the header file for this library There are variations, but you can probably figure them out (e.g., sometimes the code and header files are in a utility or src subdirectory).? Personally, I never do a default installation of the IDE. I always create a new IDE directory in the form ArduinoReleaseNumber off the root directory. As it stands on my current system, I can go back 13 releases of the IDE just in case a new release doesn't work. For most people, a default installation works fine. If you're having problems with the Raduino software, it is not Farhan's software. It's either the new software or an issue installing the IDE or the non-standard libraries. I'll try to help those who might have problems but always remember: "The key to a good answer is asking a good question". Always supply the IDE number, your op system, and, if you can, exact error messages you are getting from the IDE. Jack, W8TEE From: College Professor Simon Thompson <nwccenglishprofessor@...> To: [email protected] Sent: Monday, March 20, 2017 11:00 PM Subject: [BITX20] Master file for Bitx40 I cannot find a master file, with all of the recent fixes, for the Bitx40. I am learning how to use the Arduino, and it isn't the best time to be trying to figure out how to incorporate the various fixes that have been posted to GitHub. Can some kind person upload the Raduino code in its current, complete, form? And append a note about which version of the Etherkit library to use. I am having a hell of a time trying to compile the code, and it is putting me off the whole project.?
|
to navigate to use esc to dismiss