Get the Latest Learn Folder
More examples and libraries get added to the Learn folder all the time. So make sure to
download the latest before getting started. Just go to:
___http://learn.parallax.com/propeller-c-set-simpleide/update-your-learn-folder.
From there, just follow the instructions with red checkmarks. Then, you'll be equipped with latest example programs and libraries for use with the tutorials on:
___http://learn.parallax.com/propeller-c-tutorials.
For more info on the Propeller C Education program, go here:
___http://learn.parallax.com/propeller-c.
For info on this Learn folder's Simple Libraries, go here: Simple Libraries Folder Index
Typos, comments, or suggestions? Email:
learn@parallax.com.
Update History
Update 10/18/2014
-
Correct simpletext scan function %s formatting flag bugs.
Updates 9/5/2014
-
Fix cog stop/restart bug in servo library and add feature for disabling individual
servos.
-
Add example named SD for Text Files and Back to Variables to ...Documents\SimpleIDE\Learn\Examples\Devices\Memory. It writes data as text to a .txt file on an SD card, then reads it back and converts the text data back to variable data for use by the program. This makes it convenient to view with either a text editor on a computer, or in the program with the SimpleIDE terminal.
Updates 8/26/2014
-
Stack usage reduced in abdrive, servo, wavplayer, and some other Simple Libraries that launch Propeller C functions into other cores.
-
Added stacktest library and example to Learn folder.
-
Moved mstimer library from Util to Misc.
-
Added ee_config function to simpletools library for overriding default EEPROM settings.
-
Added GPS library and code example to Learn folder.
-
Added rxCount and rxPeek functions to the fdserial library.
-
Added html documentation for propeller.h and cog.h.
-
Updated delay built into simpletools library that ensures Windows machines cannot mistake the Propeller for a plug and play serial device. This can happen if the Windows machine receives serial bytes within 0.7 seconds after the device is connected. This delay now only occurs at application start-up, not every time the terminal process is restarted.
-
Fixed bug in square_wave function.
-
Fixed shift_in MSBPRE bug that added an n+1 bit to the result.
Updates 6/4/2014
-
Corrections to Documentation rfidser Library.html.
Updates 5/9/2014
-
Added to Learn\Examples\Devices\Sensor: ColorPAL, RFID Serial, Sound Impact, PIR Motion.
-
Added to Learn\Simple Libraries\Sensor: libcolorpal, librfidser, libsoundimpact.
-
Added cal_servoPins and cal_encoderPins to abcalibrate library to change from
default I/O connections to ActivityBot servos and encoders. Values used will
persist in EEPROM and be used by the abdrive library.
Updates 5/1/2014
-
The simpletools library no longer starts a floating point coprocessor at the start of the application. All floating point functionality is still supported, processing just happens in the same cog.
-
i2c_out and i2c_in char *regAddr parameter changed to int memAddr.
-
itoa removed, use sprint(charArray, "%d", intVal) to make int to ASCII conversions.
-
st_msTicks and st_usTicks global variables are pre-initialized to the number of system clock ticks in a millisecond and microsecond for convenience in library development.
-
Variables named us and ms are initialized to the same values for user applications.
-
Function endianSwap added to simplify communication with devices that send/receive byte data in big endian format.
-
Digits versions of put/get and write/read added to simpletext library for transmitting and receiving values with fixed numbers of digits. .
-
Floating point output functions in simpletext library updated to handle nan (not a number) and +/- inf (infinity).
-
printi, dprinti, scani, dscani, sprinti, sscani functions added to simpletext library for supporting non-floating point with less program space.
-
Multicore folder added to ...Documents\SimpleIDE\Learn\Examples\.
-
New Protocols and Multicore folders in ...Documents\SimpleIDE\Examples\.
-
New TV Remote and 3-Axis Accelerometer libraries and examples in ...Documents\SimpleIDE\Examples\Simple Devices\.
-
Subcategories added to Functions lists simpletools and simpletext HTML API docs.
Updates 2/27/2014
-
abvolts library added. This library is for introductory tutorials and has been added to the Learn folder for community testing and feedback.
Updates 2/13/2014
-
cog_run and cog_end functions added to libsimpletools to streamline
launching function code into another cog.
-
vgatext library modified to work with the simpletext library. You can now
use any simpletext output call with a text_t parameter to dsipaly text messages with the
VGA. See the VGA Text Display activity for examples.
-
\Robotics\ActivityBot folder added to ...Learn\Simple Libraries.
-
ActivityBot folder added to ...Learn\Examples.
Updates 11/6/2013
-
start_fpu_cog and stop_fpu_cog documentation added to libsimpletools.
Updates 11/1/2013
-
ee_putStr updated to support 128 byte page writes.
-
More corrections to ee_put* for contiguous data crossing address/128 boundary.
Updates 10/31/2013
-
wav player click between tracks eliminated, and bug in support for playing sequences of tracks fixed.
-
simpletools square_wave bug that prevented frequency changes fixed.
Updates 9/4/2013
-
ee_put* Fixed bug that prevented contiguous data crossing address/128 boundary.
-
Updated stack array to static in mstimer.c.
Updates 7/9/2013
-
i2c_in and i2c_out functions added to simpletools library.
-
simplei2c library added with basic i2c building blocks that were used to create the simpletools library's i2c_in and i2c_out functions.
-
EEPROM and compass libraries now use i2c_in and i2c_out instead of two different Propeller GCC I2C variants, which reduces program memory requirements.
Updates 6/15/2013
-
Folder added.../SimpleIDE/Learn/Simple Libraries/Text Devices. In addition to libraries that support communication with text based hardware devices, this folder has libsimpletext, which has compact functions for sending and receiving text to/from Simple Terminal and other devices.
-
All sser_ and fdser_ functions removed from libsimpletools.
-
libsimpletools now includes simpletext from Text Devices. In addition to replacing sser_ functions, it has a variety of print/scan put/get and read/write functions for communicating with Simple Terminal and other serial devices. fdser_ functions are replaced by using the Add Simple Library button to add libfdserial from the Text Devices folder.
-
7-segment LED examples added to ...SimpleIDE/Learn/Examples/Circuits.
-
A 0.8 second delay was added to the first serial message sent to Simple Terminal by functions in the simpletext library. This prevents Windows machines from potentially mistaking the serial message as legacy serial peripheral identifying strings. Since the delay is now automatic, all pause(1000) calls were removed from the start of example programs.
-
All example programs updated to use print from simpletext in place of printf from stdio. This significantly reduces the program size penalty for displaying floating point types.
First Release 5/7/2013