Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: interruptin_mod mbed
Revision 0:13afa59109be, committed 2014-11-13
- Comitter:
- bousiya03
- Date:
- Thu Nov 13 11:49:26 2014 +0000
- Commit message:
- typo
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/interruptin_mod.lib Thu Nov 13 11:49:26 2014 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/bousiya03/code/interruptin_mod/#c63d872cfdb7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Nov 13 11:49:26 2014 +0000
@@ -0,0 +1,56 @@
+#include "mbed.h"
+//#include "IRM2121.h"
+#include"interruptin_mod.h"
+
+interruptin_mod test(p5);
+
+//InterruptIn test1(p5);
+
+//IRM2121 test(p5);
+/*
+ class intruptin_mod:public InterruptIn{
+
+ public:
+
+ intruptin_mod(PinName pin): InterruptIn(pin){}
+
+ void rise_disable(void (*fptr)(void)) {
+
+ _rise.attach(fptr);
+ gpio_irq_set(&gpio_irq, IRQ_RISE, 0);
+
+ }
+
+ void fall_disable(void (*fptr)(void)) {
+
+ _fall.attach(fptr);
+ gpio_irq_set(&gpio_irq, IRQ_FALL, 0);
+
+ }
+
+};
+
+*/
+
+void test_f(){
+
+
+
+ }
+
+int main(){
+
+ //int value = 0;
+
+ test.fall(&test_f);
+ test.fall_disable(NULL);
+
+ // test.Set();
+
+ //value = test.Read();
+
+ //printf("value = %d\n" ,value);
+
+ for(;;);
+
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Nov 13 11:49:26 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89 \ No newline at end of file