Subversion Repositories svn.mios32

Rev

Rev 1919 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1919 Rev 2425
Line 1... Line 1...
1
// $Id: app.c 1919 2014-01-08 19:13:48Z tk $
1
// $Id: app.c 2425 2016-11-03 00:44:22Z tk $
2
/*
2
/*
3
 * MIOS32 Tutorial #012b: Scanning up to 64 analog pots from an AINSER module
3
 * MIOS32 Tutorial #012b: Scanning up to 64 analog pots from an AINSER module
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 46... Line 46...
46
46
47
  // initialize the AINSER module(s)
47
  // initialize the AINSER module(s)
48
  AINSER_Init(0);
48
  AINSER_Init(0);
49
49
50
  // start task
50
  // start task
51
  xTaskCreate(TASK_AINSER_Scan, (signed portCHAR *)"AINSER_Scan", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_AINSER_SCAN, NULL);
51
  xTaskCreate(TASK_AINSER_Scan, "AINSER_Scan", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_AINSER_SCAN, NULL);
52
}
52
}
53
53
54
54
55
/////////////////////////////////////////////////////////////////////////////
55
/////////////////////////////////////////////////////////////////////////////
56
// This task is running endless in background
56
// This task is running endless in background