/* * Copyright (C) 2004 BLADOX, s.r.o. All rights reserved. * * This file is part of an example program for Turbo. This example * program may be used, distributed and modified without limitation. * */ #include <config.h> #include <tprog/tprog.h> u8 PROGMEM hello[] = "helloworld!"; void turbo_handler (u8 action, USB_Data *data) { switch (action) { case 0x80: usb_send (NO_ERROR, sizeof (hello), hello); default: break; } }
Copyright © 2004 BLADOX | Turbo Programmer version 2.0
|