create scaffolding for i2c slave code
This commit is contained in:
parent
4f2d9dbfb4
commit
0805b387ee
2
src/i2c_slave.c
Normal file
2
src/i2c_slave.c
Normal file
@ -0,0 +1,2 @@
|
||||
#include "i2c_slave.h"
|
||||
|
||||
8
src/i2c_slave.h
Normal file
8
src/i2c_slave.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef I2C_SLAVE_H
|
||||
#define I2C_SLAVE_H
|
||||
|
||||
#include <ch32v00x.h>
|
||||
|
||||
|
||||
|
||||
#endif /* I2C_SLAVE_H */
|
||||
@ -106,8 +106,5 @@ void NMI_Handler(void) {
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
SendNeoPixelColor(0, 255, 0);
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
while (1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user