First commit

This commit is contained in:
2026-04-08 20:11:20 +02:00
parent 10fe469c10
commit 79f15536a1
861 changed files with 135610 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#include <hidef.h> /* for EnableInterrupts macro */
#include "derivative.h" /* include peripheral declarations */
void main(void)
{
unsigned i;
/* Internal clock of 8MHz selected. */
ICSC2 = 0b01000000;
ICSC1 = 0x04;
SOPT1_COPE = 0; /* Disable Watchdog */
/* PTB configured as an output */
PTBDD = 0xFF;
for (;;)
{
i = 0;
{
while (i < 6513)
i++;
} // Boucle complète
PTBD = ~PTBD;
} /* loop forever */
}