29#include "../devices/swbounce.h"
30#include "bsim_picsim.h"
32#define BOARD_McLab1_Name "McLab1"
36 unsigned char p_BT[4];
46 std::string
GetName(
void)
override {
return BOARD_McLab1_Name; };
47 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
50 void Draw(
void)
override;
53 void Reset(
void)
override;
54 void EvMouseButtonPress(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
55 void EvMouseButtonRelease(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
56 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
57 void EvKeyRelease(
unsigned int key,
unsigned int mask)
override;
60 unsigned short GetInputId(
char* name)
override;
Definition bsim_picsim.h:34
Definition board_McLab1.h:34
void EvMouseButtonPress(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_McLab1.cc:654
void Draw(void) override
Called ever 100ms to draw board.
Definition board_McLab1.cc:94
void RegisterRemoteControl(void) override
Register remote control variables.
Definition board_McLab1.cc:561
void Run_CPU(void) override
Paralle thread called ever 100ms to run cpu code.
Definition board_McLab1.cc:352
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition board_McLab1.cc:822
void EvKeyPress(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_McLab1.cc:759
std::string GetAboutInfo(void) override
Return the about information of part.
Definition board_McLab1.h:47
void EvMouseButtonRelease(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_McLab1.cc:719
std::string GetSupportedDevices(void) override
Return a list of supported microcontrollers.
Definition board_McLab1.h:52
void WritePreferences(void) override
Called to save board preferences in configuration file.
Definition board_McLab1.cc:913
std::string GetName(void) override
Get board name registered in PICSimLab.
Definition board_McLab1.h:46
void EvKeyRelease(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_McLab1.cc:778
void ReadPreferences(char *name, char *value) override
Called whe configuration file load preferences.
Definition board_McLab1.cc:919
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition board_McLab1.cc:800
int GetDefaultClock(void) override
Get board default clock in MHz.
Definition board_McLab1.h:62
void Reset(void) override
Reset board status.
Definition board_McLab1.cc:536