mirror of
https://github.com/brmlab/edubrm.git
synced 2025-12-18 19:33:58 +01:00
piny
This commit is contained in:
parent
e38d475d40
commit
af36fa43f0
8 changed files with 57 additions and 36 deletions
|
|
@ -43,12 +43,8 @@ int main (void)
|
|||
SystemInit();
|
||||
//#endif
|
||||
|
||||
SSPInit();
|
||||
|
||||
ADCInit(ADC_CLK);
|
||||
|
||||
// enable read on pin PIO3_3
|
||||
LPC_GPIO3->DIR &= ~(1<<3);
|
||||
// LPC_GPIO3->DIR &= ~(1<<3);
|
||||
|
||||
HidDevInfo.idVendor = USB_VENDOR_ID;
|
||||
HidDevInfo.idProduct = USB_PROD_ID;
|
||||
|
|
@ -89,6 +85,8 @@ int main (void)
|
|||
LPC_GPIO2->MASKED_ACCESS[1<<6] |= 1<<6;
|
||||
LPC_GPIO2->MASKED_ACCESS[1<<7] |= 1<<7;
|
||||
|
||||
EduInit();
|
||||
|
||||
while (1)
|
||||
__WFI();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue