Commit Graph

6 Commits

Author SHA1 Message Date
Roger Clark 5dcfa4f1b0 Removed non standard functions togglePin, toggleLED,isButtonPressed, and waitForButtonPress. And updated all examples that used these, to use other functions. Note togglePin was used internally in shiftOut. Also note, that some of these functions were replaced by the code that was inside the non standard function e.g inside togglePin. In the longer term these internal maple function calls need to be replaced by high level Arduino API calls like digitalRead and digitalWrite where applicable 2015-04-07 20:57:51 +10:00
Roger Clark 425e9e0895 Added bool type, typedefed to boolean. Also found error where unit8 had been typedefed to boolean and then re-typedefed to byte - which has now been fixed 2015-03-18 20:39:17 +11:00
Roger Clark f21592574f Added serial config parameter support to HardwareSerial :: begin(), so that word length (of 8 or 9 bits), parity (None, Even or Odd) and 1 or 2 stop bits can now be set. Note the STM32 doesnt support all the word lengths supprted by AVR or SAM e.g. the hardware doesnt support 5,6 or 7 bit word lengths. 2015-03-04 22:59:11 +11:00
Roger Clark 29c5d538da Added missing include to avr/dostrf.h in wirish.h so that dtostrf can be used without needing to include that file 2015-03-04 22:30:57 +11:00
Roger Clark 244674ca81 Added dummy parameter to HardwareSerial begin() for device config. This is a work in progress, the config value is not used to control the hardware yet 2015-03-04 10:02:44 +11:00
Roger Clark 5f83c13285 renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4 2015-02-24 20:13:04 +11:00