Activity Board Testing Request
DavidZemon
Posts: 2,973
I'm making changes to adcACpropab.c and adcACpropab.cogc in the Learn folder in order for PropWare to be capable of utilizing those files. Unfortunately, I don't have an Activity Board to test my changes with. Is there anyone out there that has an Activity Board and would be willing to test a binary for me? The attached binary is running the following code, taken from libadcACpropab.c in the Learn folder, and I only need you to tell me if the program is operating correctly (should simply print the ADC value repeatedly)
int i = 0; // Index variable while(1) // Loop repeats indefinitely { print("adcVal[%d] = %d%c\n", i, // Display raw ADC adcVal[i], CLREOL); pause(100); // Wait 1/10 s i++; // Add 1 to index if(i == 4) // After index = 3 { i = 0; // Reset to zero print("%c", HOME); // Cursor home } }
Comments
Much appreciated!
PropellerIDE probably comes with something too. Not sure if its propeller-load or something similar.
Okay, turns out it's the "-s" option not "-e"
Here ya go
This is not encouraging for the C world. I have a Win10 laptop that has never had SimpleIDE installed. so I installed RC2 from the Learn pages per the instructions and updated the libraries and all that worked fine,
This gave me the "Updated 12-29-2014: Windows: 1.0 RC2" version of SimpleIDE and I updated to the Updated 11-07-2014 version of the Learn library. This all appears to be the latest and greatest available that I can find on the Parallax site. (This is still a problem and I'll open up another thread about this.)
I went to load your .elf file and got the following error:
So, SimpleIDE RC2 isn't using the latest and greatest propeller-load. I'll see if I have a newer propeller-load installed someplace to try the .elf file.
Now, I'm not sure where to head with this if I want to use the tools on this Windows laptop and keep a working environment. This will all be discussed in another thread.
Using the Propeller Tool to load the .binary you created, I get this output: The adcVal[0] and adcVal[2] values change but stay around 2098-2102.
Here's my result:
dgately
Just to be a little OCD, I also tested it with the Measure Volts and Set Volts, and both worked great. I'll merge your changes; thanks so much!
Andy
Excellent! That means (as far as I know) PropWare is 100% source-code compatible with the Simple libraries and SimpleIDE (excluding Spin). If it compiles in SimpleIDE, it should compile with PropWare.