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