Jerry:
I still got the compile errors with the intOSC.bas and setdigitalio.bas. Saw your comment "Clock = 8 // current intosc.bas v2.1 limit". Checked the rev of intOSC.bas when I clicked on it and I have v1.6. Did a search of my hard drive and found v2.1. How can I make the IDE point to the correct library directory? I suspect this may have been a lot of my problems.
Thanks,
Garry
Can't get spi to read data
Moderators: David Barker, Jerry Messina
-
- Swordfish Developer
- Posts: 1486
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Re: Can't get spi to read data
What are the full paths for the two copies of intosc.bas you found and what OS are you running?
According to the installer script, the various library and include files should end up in:
C:\ProgramData\Mecanique\Swordfish
Includes
Library
Plugin
Samples
UserLibrary
According to the installer script, the various library and include files should end up in:
C:\ProgramData\Mecanique\Swordfish
Includes
Library
Plugin
Samples
UserLibrary
Re: Can't get spi to read data
The path to intOSC that opens up automatically is c:\users\g\documents\swordfish\userlibrary\intocs.bas. Is there someplace I can define the path? I have not been able to find a way.
Re: Can't get spi to read data
I am running windows 10 on this laptop.
-
- Swordfish Developer
- Posts: 1486
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Re: Can't get spi to read data
some files like intosc.bas are now included as part of the standard libraries. The compiler will look in the user library folder first, and then the library folder.
Remove any old files from the user library folder and you'll get the new ones.
After you compile a project,open the .idf file (it's a text file) and you can see the paths for all the files that were used.
Remove any old files from the user library folder and you'll get the new ones.
After you compile a project,open the .idf file (it's a text file) and you can see the paths for all the files that were used.