Hello, everyone! I have just added more code to my STM8 pages. The latest is a PWM library using timer 2. Naturally, they compile on SDCC :)
http://www.hodges.org/rh/stm8/index.html There are now libraries and test code for: AES128 encode/decode LCD modules with HD44780 controllers ALPS rotary encoder UART1 MAX7219 LED array controller Lightweight 16 and 32 bit binary/decimal Timer 2 pulse capture PWM and Servo control Completed, but not yet on the web site: TM1638 LED display and switch array System log that stores in EEPROM or Flash Simple I2C example These are coded for stm8s103p3 and stm8s105k4, on the boards sold very cheap on ebay. All the best, -Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user