#include <stdio.h>
#include "usart.h"
#include "i2c.h"
+#include "bmc.h"
+
+void decode_bmc_cmd(unsigned char *buf, int len)
+{
+ int i;
+
+ for(i = 0; i < len; i++) {
+ printf("0x%02x ", buf[i]);
+ }
+
+ printf("\n");
+}
int main(void)
{
sei();
- PORTB = 0xff;
-
while(1) {
#if 1
sleep_mode();