Search found 29 matches

by RTOSman
Tue Feb 16, 2016 11:09 pm
Forum: Development and Feedback
Topic: Question to Giovanni
Replies: 10
Views: 2626

Re: Question to Giovanni

Yes this library
by RTOSman
Tue Feb 16, 2016 10:14 pm
Forum: Development and Feedback
Topic: Question to Giovanni
Replies: 10
Views: 2626

Re: Question to Giovanni

but you did a library for arduino !!!!
by RTOSman
Tue Feb 16, 2016 9:28 pm
Forum: Development and Feedback
Topic: Question to Giovanni
Replies: 10
Views: 2626

Re: Question to Giovanni

Giovanni you didn't answer me !!!
by RTOSman
Tue Feb 16, 2016 8:53 pm
Forum: Development and Feedback
Topic: Question to Giovanni
Replies: 10
Views: 2626

Re: Question to Giovanni

how do i know the exact timer frequency value of CH_CFG_ST_FREQUENCY.
i have arduino uno
please
by RTOSman
Tue Feb 16, 2016 8:34 pm
Forum: Development and Feedback
Topic: Question to Giovanni
Replies: 10
Views: 2626

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 chVTGetSystemTimeX()/1000) no...
by RTOSman
Tue Feb 16, 2016 7:55 pm
Forum: Development and Feedback
Topic: Question to Giovanni
Replies: 10
Views: 2626

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 chThdSleepMilli...
by RTOSman
Sat Feb 13, 2016 3:57 pm
Forum: AVR Support
Topic: tick ??
Replies: 0
Views: 803

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 ?
by RTOSman
Fri Feb 12, 2016 5:22 pm
Forum: AVR Support
Topic: chThdSleepUntil() ??
Replies: 32
Views: 6315

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(Blinker, arg...
by RTOSman
Thu Feb 11, 2016 9:10 pm
Forum: AVR Support
Topic: chThdSleepUntil() ??
Replies: 32
Views: 6315

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
by RTOSman
Thu Feb 11, 2016 9:54 am
Forum: AVR Support
Topic: chThdSleepUntil() ??
Replies: 32
Views: 6315

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]start= millis(); for (b = 0...

Go to advanced search