Search found 29 matches
- Tue Feb 16, 2016 11:09 pm
- Forum: Development and Feedback
- Topic: Question to Giovanni
- Replies: 10
- Views: 9264
Re: Question to Giovanni
Yes this library
- Tue Feb 16, 2016 10:14 pm
- Forum: Development and Feedback
- Topic: Question to Giovanni
- Replies: 10
- Views: 9264
Re: Question to Giovanni
but you did a library for arduino !!!!
- Tue Feb 16, 2016 9:28 pm
- Forum: Development and Feedback
- Topic: Question to Giovanni
- Replies: 10
- Views: 9264
Re: Question to Giovanni
Giovanni you didn't answer me !!!
- Tue Feb 16, 2016 8:53 pm
- Forum: Development and Feedback
- Topic: Question to Giovanni
- Replies: 10
- Views: 9264
Re: Question to Giovanni
how do i know the exact timer frequency value of CH_CFG_ST_FREQUENCY.
i have arduino uno
please
i have arduino uno
please
- Tue Feb 16, 2016 8:34 pm
- Forum: Development and Feedback
- Topic: Question to Giovanni
- Replies: 10
- Views: 9264
Re: Question to Giovanni
The problem is the chVTGetSystemTimeX() not accurate on the arduini uno. i did this code
while (1)
{
start += 10;
Serial.println(chVTGetSystemTimeX()/1000);
}
i compare the values of chVTGetSystemTimeX()/1000) with my stopwatch of my phone. after 3 minutes the values of ...
while (1)
{
start += 10;
Serial.println(chVTGetSystemTimeX()/1000);
}
i compare the values of chVTGetSystemTimeX()/1000) with my stopwatch of my phone. after 3 minutes the values of ...
- Tue Feb 16, 2016 7:55 pm
- Forum: Development and Feedback
- Topic: Question to Giovanni
- Replies: 10
- Views: 9264
Question to Giovanni
Hello Mr Giovanni. i use chibios librrary for arduino and i find it powerful i tried many application on arduino uno board. but arduino board has not a real time clock. the timer of arduino it's not really accurate, so i want to use RTC DS3231. my question is how to make the function ...
- Sat Feb 13, 2016 3:57 pm
- Forum: AVR Support
- Topic: tick ??
- Replies: 0
- Views: 2851
tick ??
Hello, i want to understand what is a tick ??
it's a counting loop ??
if i did this
for(i=0;i<2;i++)
{
do_smothign();
}
the tick here equal to 2 ??
is the tick equal to number of a while or a foor loop ?
thanks ?
it's a counting loop ??
if i did this
for(i=0;i<2;i++)
{
do_smothign();
}
the tick here equal to 2 ??
is the tick equal to number of a while or a foor loop ?
thanks ?
- Fri Feb 12, 2016 5:22 pm
- Forum: AVR Support
- Topic: chThdSleepUntil() ??
- Replies: 32
- Views: 36117
Re: chThdSleepUntil() ??
Hi , i think is totally correct as result that i have look at this definition
Fixed Intervals #2
This solution does not suffer of the limitation described in the previous example however it is a bit more complex to understand.
static THD_WORKING_AREA(waBlinker, 128);
static THD_FUNCTION ...
Fixed Intervals #2
This solution does not suffer of the limitation described in the previous example however it is a bit more complex to understand.
static THD_WORKING_AREA(waBlinker, 128);
static THD_FUNCTION ...
- Thu Feb 11, 2016 9:10 pm
- Forum: AVR Support
- Topic: chThdSleepUntil() ??
- Replies: 32
- Views: 36117
Re: chThdSleepUntil() ??
Thanks i will take a look 
me i want to get a sample every 10 MS not after not befor
i think chibios not really performed or me who can't to program that
me i want to get a sample every 10 MS not after not befor
- Thu Feb 11, 2016 9:54 am
- Forum: AVR Support
- Topic: chThdSleepUntil() ??
- Replies: 32
- Views: 36117
Re: chThdSleepUntil() ??
I changed the program, i did a chtsleemmillis()
void mainThread() {
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO+1, Thread1, NULL);
chThdCreateStatic(waThread2, sizeof(waThread2), NORMALPRIO, Thread2, NULL);
}
[code]
static THD_FUNCTION(Thread1, arg) {
[code] ...
void mainThread() {
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO+1, Thread1, NULL);
chThdCreateStatic(waThread2, sizeof(waThread2), NORMALPRIO, Thread2, NULL);
}
[code]
static THD_FUNCTION(Thread1, arg) {
[code] ...