Search found 10 matches
- Fri Nov 02, 2012 11:38 am
- Forum: User Projects
- Topic: STM32 ADC kickstart example
- Replies: 28
- Views: 39297
Re: STM32 ADC kickstart example
Its conected through usb no port to connect serial
- Fri Nov 02, 2012 8:19 am
- Forum: User Projects
- Topic: STM32 ADC kickstart example
- Replies: 28
- Views: 39297
Re: STM32 ADC kickstart example
can you post a simple code to do serial printing in chibios...where can i see the serial printing...using stflash?????Am using ubuntu for development and the board am using is STM32F4 Discovery...ChibiOS is referred as the best light weight RTOS to stat with but its seriously have a bad ...
- Mon Oct 29, 2012 3:12 am
- Forum: User Projects
- Topic: STM32 ADC kickstart example
- Replies: 28
- Views: 39297
Re: STM32 ADC kickstart example
How can i print the values of buffer array???can i use printf???Will it be displayed in the stlink utility
- Sun Sep 30, 2012 1:07 pm
- Forum: General Support
- Topic: any example of adc
- Replies: 3
- Views: 3159
Re: any example of adc
can you give the code of a simple example ie if vary input using a pot then i must get digital out can you post code for that so that i can understand the example on testhal is also a complex didnt even understand the working of it...
- Sat Sep 29, 2012 1:14 pm
- Forum: General Support
- Topic: any example of adc
- Replies: 3
- Views: 3159
any example of adc
Hi,
Can i get any example regarding the working of adc...the documentation is not that much good for a beginner its pretty hard to understand...and i couldnt find any sample codes...usually in pic i do adc like this
void main()
{
int x;
setup_adc_ports(ALL_ANALOG);
setup_adc(ADC_CLOCK_INTERNAL ...
Can i get any example regarding the working of adc...the documentation is not that much good for a beginner its pretty hard to understand...and i couldnt find any sample codes...usually in pic i do adc like this
void main()
{
int x;
setup_adc_ports(ALL_ANALOG);
setup_adc(ADC_CLOCK_INTERNAL ...
- Thu Jul 26, 2012 8:06 am
- Forum: General Support
- Topic: checking the value on a pin
- Replies: 10
- Views: 8501
Re: checking the value on a pin
What are the other basic tutorials that beginners can try on to understand the coding style of chibios
- Thu Jul 26, 2012 7:48 am
- Forum: General Support
- Topic: checking the value on a pin
- Replies: 10
- Views: 8501
Re: checking the value on a pin
But its not working...just like above said can i use HIGH or LOW option....can you post a sample code to read input from a switch and blink led...If am using an external switch what must be the input voltage given..
- Thu Jul 26, 2012 7:31 am
- Forum: General Support
- Topic: checking the value on a pin
- Replies: 10
- Views: 8501
Re: checking the value on a pin
Hi Giovanni,
This is the code i used
palSetPadMode(GPIOD, GPIOD_LED3, PAL_MODE_OUTPUT_PUSHPULL); /* Green. */
palSetPadMode(GPIOA, GPIOA_BUTTON,PAL_MODE_INPUT);
if (palReadPad(GPIOA, GPIOA_BUTTON))
{
palSetPad(GPIOD, GPIOD_LED3);
}
but its not working can you rectify me is there any option ...
This is the code i used
palSetPadMode(GPIOD, GPIOD_LED3, PAL_MODE_OUTPUT_PUSHPULL); /* Green. */
palSetPadMode(GPIOA, GPIOA_BUTTON,PAL_MODE_INPUT);
if (palReadPad(GPIOA, GPIOA_BUTTON))
{
palSetPad(GPIOD, GPIOD_LED3);
}
but its not working can you rectify me is there any option ...
- Thu Jul 26, 2012 6:53 am
- Forum: General Support
- Topic: checking the value on a pin
- Replies: 10
- Views: 8501
Re: checking the value on a pin
Thank you will check that 
- Wed Jul 25, 2012 8:52 pm
- Forum: General Support
- Topic: checking the value on a pin
- Replies: 10
- Views: 8501
checking the value on a pin
Hello am using stm32f4 discovery board along with chibios.... i need to check whether the value of that pin is high or low.....
i need to know how can check that condition in chibios...
i need to know how can check that condition in chibios...