daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function w1_init
  2.  
  3. % Initialize TrueTime kernel
  4. ttInitKernel('prioFP');  % scheduling policy - fixed priority
  5.  
  6. % Periodic task
  7. starttime = 0.0;
  8. period = 0.01;
  9. ttCreatePeriodicTask('w1_task', starttime, period, 'w1_code');
  10.  
  11. % Network handler
  12. ttAttachNetworkHandler(1,'w1_task')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top