Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Board/Wheel.cpp
- Revision:
- 2:e6a185df9e4c
- Parent:
- 1:7a4efebd6e44
--- a/Board/Wheel.cpp Sat Sep 14 22:34:00 2013 +0000 +++ b/Board/Wheel.cpp Mon Sep 16 18:37:14 2013 +0000 @@ -111,7 +111,7 @@ positionData = ((LPC_ADC->ADGDR >> 4) & 0xFFF); /* read converted value */ /* read value needs scaling*/ LPC_ADC->ADCR &= ~(7<<24); /* stop conversion */ - printf("ADC Value %i\r\n",positionData); + //printf("ADC Value %i\r\n",positionData); //measure ADC value //ADC12IE = 0x01; // Enable interrupt //ADC12CTL0 |= ADC12SC; // Start sampling/conversion